Partager via


SipProfile.Builder.SetProtocol(String) Method

Definition

Sets the protocol used to connect to the SIP server.

[Android.Runtime.Register("setProtocol", "(Ljava/lang/String;)Landroid/net/sip/SipProfile$Builder;", "GetSetProtocol_Ljava_lang_String_Handler")]
public virtual Android.Net.Sip.SipProfile.Builder SetProtocol (string protocol);
[<Android.Runtime.Register("setProtocol", "(Ljava/lang/String;)Landroid/net/sip/SipProfile$Builder;", "GetSetProtocol_Ljava_lang_String_Handler")>]
abstract member SetProtocol : string -> Android.Net.Sip.SipProfile.Builder
override this.SetProtocol : string -> Android.Net.Sip.SipProfile.Builder

Parameters

protocol
String

the protocol string

Returns

Attributes

Exceptions

if the protocol is not recognized

Remarks

Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License.

Applies to