1# Interface (ControlCenterQuery) 2<!--Kit: Camera Kit--> 3<!--Subsystem: Multimedia--> 4<!--Owner: @qano--> 5<!--SE: @leo_ysl--> 6<!--TSE: @xchaosioda--> 7 8> **NOTE** 9> 10> - The initial APIs of this module are supported since API version 10. Newly added APIs will be marked with a superscript to indicate their earliest API version. 11> - The initial APIs of this interface are supported since API version 20. 12 13ControlCenterQuery is used to check whether the camera controller is supported. 14 15## Modules to Import 16 17```ts 18import { camera } from '@kit.CameraKit'; 19``` 20 21## isControlCenterSupported<sup>20+</sup> 22 23isControlCenterSupported(): boolean 24 25Checks whether the camera controller is supported. 26 27**Atomic service API**: This API can be used in atomic services since API version 20. 28 29**System capability**: SystemCapability.Multimedia.Camera.Core 30 31**Return value** 32 33| Type |Description| 34|---------|----| 35| boolean | Check result for the support of the camera controller. **true** if supported, **false** otherwise.| 36 37**Example** 38 39```ts 40function isControlCenterSupported(videoSession: camera.VideoSession): boolean { 41 let isSupported: boolean = videoSession.isControlCenterSupported(); 42 return isSupported; 43} 44``` 45 46## getSupportedEffectTypes<sup>20+</sup> 47 48getSupportedEffectTypes(): Array\<ControlCenterEffectType\> 49 50Obtains the effect types supported by the camera controller. 51 52**Atomic service API**: This API can be used in atomic services since API version 20. 53 54**System capability**: SystemCapability.Multimedia.Camera.Core 55 56**Return value** 57 58| Type| Description| 59|-----|-----| 60| Array<[ControlCenterEffectType](arkts-apis-camera-e.md#controlcentereffecttype20)> | Array of effect types supported.| 61 62**Example** 63 64```ts 65function getSupportedEffectTypes(videoSession: camera.VideoSession): Array<camera.ControlCenterEffectType> { 66 let effectTypes: Array<camera.ControlCenterEffectType> = []; 67 effectTypes = videoSession.getSupportedEffectTypes(); 68 return effectTypes; 69} 70``` 71