Share via


SipProfile.Builder Constructors

Definition

Overloads

SipProfile.Builder(SipProfile)

Creates a builder based on the given profile.

SipProfile.Builder(String)

Constructor.

SipProfile.Builder(IntPtr, JniHandleOwnership)

A constructor used when creating managed representations of JNI objects; called by the runtime.

SipProfile.Builder(String, String)

Constructor.

SipProfile.Builder(SipProfile)

Creates a builder based on the given profile.

[Android.Runtime.Register(".ctor", "(Landroid/net/sip/SipProfile;)V", "")]
public Builder (Android.Net.Sip.SipProfile profile);
[<Android.Runtime.Register(".ctor", "(Landroid/net/sip/SipProfile;)V", "")>]
new Android.Net.Sip.SipProfile.Builder : Android.Net.Sip.SipProfile -> Android.Net.Sip.SipProfile.Builder

Parameters

profile
SipProfile
Attributes

Remarks

Creates a builder based on the given profile.

Java documentation for android.net.sip.SipProfile.Builder.SipProfile$Builder(android.net.sip.SipProfile).

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

SipProfile.Builder(String)

Constructor.

[Android.Runtime.Register(".ctor", "(Ljava/lang/String;)V", "")]
public Builder (string uriString);
[<Android.Runtime.Register(".ctor", "(Ljava/lang/String;)V", "")>]
new Android.Net.Sip.SipProfile.Builder : string -> Android.Net.Sip.SipProfile.Builder

Parameters

uriString
String

the URI string as "sip:<user_name>

Attributes

Exceptions

if the string is not a valid URI

Remarks

Constructor.

Java documentation for android.net.sip.SipProfile.Builder.SipProfile$Builder(java.lang.String).

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

SipProfile.Builder(IntPtr, JniHandleOwnership)

A constructor used when creating managed representations of JNI objects; called by the runtime.

protected Builder (IntPtr javaReference, Android.Runtime.JniHandleOwnership transfer);
new Android.Net.Sip.SipProfile.Builder : nativeint * Android.Runtime.JniHandleOwnership -> Android.Net.Sip.SipProfile.Builder

Parameters

javaReference
IntPtr

nativeint

A IntPtrcontaining a Java Native Interface (JNI) object reference.

transfer
JniHandleOwnership

A JniHandleOwnershipindicating how to handle javaReference

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

SipProfile.Builder(String, String)

Constructor.

[Android.Runtime.Register(".ctor", "(Ljava/lang/String;Ljava/lang/String;)V", "")]
public Builder (string username, string serverDomain);
[<Android.Runtime.Register(".ctor", "(Ljava/lang/String;Ljava/lang/String;)V", "")>]
new Android.Net.Sip.SipProfile.Builder : string * string -> Android.Net.Sip.SipProfile.Builder

Parameters

username
String

username of the SIP account

serverDomain
String

the SIP server domain; if the network address is different from the domain, use #setOutboundProxy to set server address

Attributes

Exceptions

if the parameters are not valid

Remarks

Constructor.

Java documentation for android.net.sip.SipProfile.Builder.SipProfile$Builder(java.lang.String, java.lang.String).

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