语言

CallAttributes.Builder.SetCallType(CallType) 方法

定义

设置调用的类型;用于指示呼叫是视频呼叫还是音频呼叫。

[Android.Runtime.Register("setCallType", "(I)Landroid/telecom/CallAttributes$Builder;", "", ApiSince=34)]
public Android.Telecom.CallAttributes.Builder SetCallType(Android.Telecom.CallType callType);
[<Android.Runtime.Register("setCallType", "(I)Landroid/telecom/CallAttributes$Builder;", "", ApiSince=34)>]
member this.SetCallType : Android.Telecom.CallType -> Android.Telecom.CallAttributes.Builder

参数

callType
CallType

调用类型。 值为下列值之一: AudioCall; ; VideoCallMessaging

返回

建设者。 此值不能为 null。

特性

注解

设置调用的类型;用于指示呼叫是视频呼叫还是音频呼叫。

Android 参考。android.telecom.CallAttributes.Builder.setCallType

本页的某些部分是根据 创建和共享的工作进行的修改,并根据 许可证中所述的条款使用。

适用于