openharmony 鸿蒙 js-apis-avCastPickerParam

2025-06-12 浏览 (1)

@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

NameValueDescription
STATE_APPEARING0The component is displayed.
STATE_DISAPPEARING1The 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

NameValueDescription
STYLE_PANEL0Panel style.
STYLE_MENU1Menu 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

NameValueDescription
AUTO0Follows the system mode.
DARK1Dark mode.
LIGHT2Light mode.

你可能感兴趣的鸿蒙文章

harmony 鸿蒙AVSession Kit

harmony 鸿蒙AVSession_PlaybackPosition

harmony 鸿蒙OHAVSession

harmony 鸿蒙AVSession Management Error Codes

harmony 鸿蒙@ohos.app.ability.MediaControlExtensionAbility (ExtensionAbility for Media Playback Control) (System API)

harmony 鸿蒙@ohos.multimedia.avsession (AVSession Management) (System API)

harmony 鸿蒙js-apis-avsession

harmony 鸿蒙MediaControlExtensionContext (ExtensionAbility Context for Media Playback Control) (System API)

harmony 鸿蒙native_avmetadata.h

harmony 鸿蒙native_avsession.h

  • 所属分类: 后端技术
  • 本文标签: 软件 鸿蒙
  • 版权声明: 本文链接 https://seaxiang.com/blog/yYYxat