• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1# @ohos.multimedia.avCastPickerParam (AVCastPicker Parameters)
2
3**avCastPickerParam** provides the enumerated values for the [@ohos.multimedia.avCastPicker](ohos-multimedia-avcastpicker.md) component states.
4
5> **NOTE**
6>
7> 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.
8
9## AVCastPickerState<sup>11+</sup>
10
11Enumerates the states of the **AVCastPicker** component.
12
13**Atomic service API**: This API can be used in atomic services since API version 12.
14
15**System capability**: SystemCapability.Multimedia.AVSession.AVCast
16
17| Name                       | Value  | Description        |
18| --------------------------- | ---- | ----------- |
19| STATE_APPEARING    | 0    | The component is displayed.|
20| STATE_DISAPPEARING    | 1    | The component disappears.|
21
22## AVCastPickerStyle<sup>12+</sup>
23
24Enumerates the styles of the **AVCastPicker** component.
25
26**Atomic service API**: This API can be used in atomic services since API version 12.
27
28**System capability**: SystemCapability.Multimedia.AVSession.AVCast
29
30| Name                       | Value  | Description        |
31| --------------------------- | ---- | ----------- |
32| STYLE_PANEL    | 0    | Panel style.|
33| STYLE_MENU    | 1    | Menu style.|
34
35## AVCastPickerColorMode<sup>12+</sup>
36
37Enumerates the color modes of the **AVCastPicker** component.
38
39**Atomic service API**: This API can be used in atomic services since API version 12.
40
41**System capability**: SystemCapability.Multimedia.AVSession.AVCast
42
43| Name                       | Value  | Description        |
44| --------------------------- | ---- | ----------- |
45| AUTO    | 0    | Follows the system mode.|
46| DARK    | 1    | Dark mode.|
47| LIGHT    | 2    | Light mode.|
48