Share via


SipProfile.Builder.SetPort(Int32) Method

Definition

Sets the port number of the server.

[Android.Runtime.Register("setPort", "(I)Landroid/net/sip/SipProfile$Builder;", "GetSetPort_IHandler")]
public virtual Android.Net.Sip.SipProfile.Builder SetPort (int port);
[<Android.Runtime.Register("setPort", "(I)Landroid/net/sip/SipProfile$Builder;", "GetSetPort_IHandler")>]
abstract member SetPort : int -> Android.Net.Sip.SipProfile.Builder
override this.SetPort : int -> Android.Net.Sip.SipProfile.Builder

Parameters

port
Int32

port number of the server

Returns

Attributes

Exceptions

if the port number is out of range

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