harmony 鸿蒙@ohos.multimedia.avCastPickerParam (AVCastPicker Parameters)
@ohos.multimedia.avCastPickerParam (AVCastPicker Parameters)
avCastPickerParam defines the enumerated values of the @ohos.multimedia.avCastPicker states.
NOTE
The initial APIs of this module are supported since API version 11. Newly added APIs will be marked with a superscript to indicate their earliest API version.
AVCastPickerState11+
Enumerates the states of the AVCastPicker component.
Atomic service API: This API can be used in atomic services since API version 12.
System capability: SystemCapability.Multimedia.AVSession.AVCast
Name | Value | Description |
---|---|---|
STATE_APPEARING | 0 | The component is displayed. |
STATE_DISAPPEARING | 1 | The component disappears. |
AVCastPickerStyle12+
Enumerates the styles of the AVCastPicker component.
Atomic service API: This API can be used in atomic services since API version 12.
System capability: SystemCapability.Multimedia.AVSession.AVCast
Name | Value | Description |
---|---|---|
STYLE_PANEL | 0 | Panel style. |
STYLE_MENU | 1 | Menu style. |
AVCastPickerColorMode12+
Enumerates the color modes of the AVCastPicker component.
Atomic service API: This API can be used in atomic services since API version 12.
System capability: SystemCapability.Multimedia.AVSession.AVCast
Name | Value | Description |
---|---|---|
AUTO | 0 | Follows the system mode. |
DARK | 1 | Dark mode. |
LIGHT | 2 | Light mode. |
你可能感兴趣的鸿蒙文章
harmony 鸿蒙AVSession_PlaybackPosition
harmony 鸿蒙AVSession Management Error Codes
harmony 鸿蒙@ohos.multimedia.avsession (AVSession Management) (System API)
- 所属分类: 后端技术
- 本文标签:
热门推荐
-
2、 - 优质文章
-
3、 gate.io
-
8、 golang
-
9、 openharmony
-
10、 Vue中input框自动聚焦