add custom parameter for picker

Signed-off-by: cheng <chengcheng14@huawei.com>
This commit is contained in:
cheng 2024-04-16 20:54:14 +08:00
parent 556a4e51e7
commit 4e8ab9219f

View File

@ -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 }