mirror of
https://gitee.com/openharmony/interface_sdk-js
synced 2024-11-23 07:10:52 +00:00
add custom parameter for picker
Signed-off-by: cheng <chengcheng14@huawei.com>
This commit is contained in:
parent
556a4e51e7
commit
4e8ab9219f
@ -102,6 +102,17 @@ declare struct AVCastPicker {
|
||||
@Prop
|
||||
sessionType?: string;
|
||||
|
||||
/**
|
||||
* Set the custom builder for the picker appearance.
|
||||
* If not set, system will show the default appearance for different device type.
|
||||
* @type { ? CustomBuilder }
|
||||
* @syscap SystemCapability.Multimedia.AVSession.AVCast
|
||||
* @atomicservice
|
||||
* @since 12
|
||||
*/
|
||||
@Prop
|
||||
customPicker?: CustomBuilder;
|
||||
|
||||
/**
|
||||
* Picker state change callback.
|
||||
* @type { ?function }
|
||||
|
Loading…
Reference in New Issue
Block a user