Home
last modified time | relevance | path

Searched refs:AVCastPicker (Results 1 – 15 of 15) sorted by relevance

/ohos5.0/docs/zh-cn/application-dev/media/avsession/
H A Dusing-switch-call-devices.md5 系统不再提供音频输出设备切换的API,如果需要应用内切换音频输出设备,请实现AVCastPicker组件,相关参数可参考[@ohos.multimedia.avCastPicker](../../r…
7 本文将主要介绍AVCastPicker组件接入,实现通话设备切换。
26 2. 在需要切换设备的通话界面创建AVCastPicker组件。
29 import { AVCastPicker } from '@kit.AVSessionKit';
35 AVCastPicker()
117 1. 创建自定义AVCastPicker,需要新增自定义参数。(对应默认样式实现步骤2)
120 import { AVCastPicker } from '@kit.AVSessionKit';
127 AVCastPicker(
155 // 初次拉起AVCastPicker时需获取当前设备,刷新显示
/ohos5.0/docs/zh-cn/application-dev/reference/apis-avsession-kit/
H A Dohos-multimedia-avcastpicker.md3 本模块提供创建投播组件AVCastPicker的功能,提供设备发现连接的统一入口。
15 import { AVCastPicker } from '@kit.AVSessionKit';
18 ## AVCastPicker section
20 AVCastPicker()
54 import { AVCastPickerState, AVCastPicker } from '@kit.AVSessionKit';
81 AVCastPicker({
H A Djs-apis-avsession.md8043 通过选择模式拉起AVCastPicker界面,用户可以选择投播设备。接口采用Promise异步返回形式,传入可选参数AVCastPickerOptions对象,无返回值。
8053 | options | [AVCastPickerOptions](#avcastpickeroptions14) | 否 | AVCastPicker选择选项。无此参数时,以AVCastPi…
8083 console.error(`AVCastPicker.select failed with err: ${err.code}, ${err.message}`);
/ohos5.0/docs/en/application-dev/reference/apis-avsession-kit/
H A Dohos-multimedia-avcastpicker.md1 # @ohos.multimedia.avCastPicker (AVCastPicker)
3 The **AVCastPicker** component provides a unified entry for device discovery and connection.
15 import { AVCastPicker } from '@kit.AVSessionKit';
18 ## AVCastPicker section
20 AVCastPicker()
22 Implements an **AVCastPicker** component, which can be used to cast audio and video onto other devi…
50 The following is an example of using **AVCastPicker**:
54 import { AVCastPickerState, AVCastPicker } from '@kit.AVSessionKit';
81 AVCastPicker({
H A Djs-apis-avCastPickerParam.md1 # @ohos.multimedia.avCastPickerParam (AVCastPicker Parameters)
11 Enumerates the states of the **AVCastPicker** component.
24 Enumerates the styles of the **AVCastPicker** component.
37 Enumerates the color modes of the **AVCastPicker** component.
H A DReadme-EN.md5 - [@ohos.multimedia.avCastPickerParam (AVCastPicker Parameters)](js-apis-avCastPickerParam.md)
13 - [@ohos.multimedia.avCastPicker (AVCastPicker)](ohos-multimedia-avcastpicker.md)
H A Djs-apis-avsession.md2191 Subscribes to output device change events. After the application integrates the [**AVCastPicker** c…
8043 Starts the AVCastPicker dialog box, where users can select the target cast device. This API uses a …
8053 | options | [AVCastPickerOptions](#avcastpickeroptions14) | No | AVCastPicker selection options. …
8082 console.error(`AVCastPicker.select failed with err: ${err.code}, ${err.message}`);
/ohos5.0/docs/en/application-dev/media/avsession/
H A Dusing-switch-call-devices.md5 …t devices. To switch an audio output device, you must implement the **AVCastPicker** component. Fo…
7 This topic describes how to integrate the **AVCastPicker** component to implement the switching of …
9 Currently, the system provides the default style and custom style for the **AVCastPicker** componen…
26 2. Create the **AVCastPicker** component on the call page that provides device switching.
29 import { AVCastPicker } from '@kit.AVSessionKit';
35 AVCastPicker()
117 1. When creating a custom **AVCastPicker** component, you must add a custom parameter. (This step c…
120 import { AVCastPicker } from '@kit.AVSessionKit';
127 AVCastPicker(
155 …// When the AVCastPicker component is started for the first time, obtain the current device and re…
/ohos5.0/foundation/multimedia/av_session/avpicker/
H A Davpicker_mock.js22 export class AVCastPicker extends ViewPU { class
121 export default AVCastPicker;
H A Davpicker_mock.ets19 export struct AVCastPicker {
H A Davpicker.js54 export class AVCastPicker extends ViewPU { class
658 export default AVCastPicker;
H A Davpicker.ets108 export struct AVCastPicker {
/ohos5.0/docs/en/release-notes/
H A DOpenHarmony-v4.1-release.md126 - The color of the AVCastPicker component can be customized, and the component status can be listen…
/ohos5.0/docs/en/application-dev/reference/apis-audio-kit/
H A Djs-apis-audio.md4460 You are advised to use the [AVCastPicker component](../../media/avsession/using-switch-call-devices…
4616 You are advised to use the [AVCastPicker component](../../media/avsession/using-switch-call-devices…
/ohos5.0/docs/en/application-dev/
H A Dwebsite.md3633 …- [@ohos.multimedia.avCastPickerParam (AVCastPicker Parameters)](reference/apis-avsession-kit/js-a…
3641 …- [@ohos.multimedia.avCastPicker (AVCastPicker)](reference/apis-avsession-kit/ohos-multimedia-avca…