SipProfile
open classSipProfile: Cloneable, Parcelable, Serializable
kotlin.Any | |
↳ | android.net.sip.SipProfile |
Defines a SIP profile, including a SIP account, domain and server information.
You can create a SipProfile
using SipProfile.Builder
. You can also retrieve one from a SipSession
, using android.net.sip.SipSession#getLocalProfile
and SipSession.getPeerProfile
.
Summary
Nested classes | |
---|---|
open |
Helper class for creating a |
Inherited constants | |
---|---|
Public methods | |
---|---|
open Int | |
open String! |
Gets the username for authentication. |
open Boolean |
Gets the flag of 'Auto Registration'. |
open String! |
Gets the display name of the user. |
open String! |
Gets the password. |
open Int |
getPort() Gets the port number of the SIP server. |
open String! |
Gets the (user-defined) name of the profile. |
open String! |
Gets the protocol used to connect to the server. |
open String! |
Gets the network address of the server outbound proxy. |
open Boolean |
Gets the flag of 'Sending keep-alive'. |
open String! |
Gets the SIP domain. |
open String! |
Gets the SIP URI string of this profile. |
open String! |
Gets the username. |
open Unit |
setCallingUid(uid: Int) Sets the calling process's Uid in the sip service. |
open Unit |
writeToParcel(out: Parcel, flags: Int) |
Properties | |
---|---|
static Parcelable.Creator<SipProfile!>! |
Public methods
describeContents
open fundescribeContents(): Int
Deprecated: Deprecated in Java.
Return | |
---|---|
Int |
a bitmask indicating the set of special object types marshaled by this Parcelable object instance. Value is either 0 or android.os.Parcelable#CONTENTS_FILE_DESCRIPTOR |
getAuthUserName
open fungetAuthUserName(): String!
Deprecated: Deprecated in Java.
Gets the username for authentication. If it is null, then the username is used in authentication instead.
Return | |
---|---|
String! |
the authentication username |
See Also
getAutoRegistration
open fungetAutoRegistration(): Boolean
Deprecated: Deprecated in Java.
Gets the flag of 'Auto Registration'.
Return | |
---|---|
Boolean |
the flag of registering the profile automatically. |
getDisplayName
open fungetDisplayName(): String!
Deprecated: Deprecated in Java.
Gets the display name of the user.
Return | |
---|---|
String! |
the display name of the user |
getPassword
open fungetPassword(): String!
Deprecated: Deprecated in Java.
Gets the password.
Return | |
---|---|
String! |
the password |
getPort
open fungetPort(): Int
Deprecated: Deprecated in Java.
Gets the port number of the SIP server.
Return | |
---|---|
Int |
the port number of the SIP server |
getProfileName
open fungetProfileName(): String!
Deprecated: Deprecated in Java.
Gets the (user-defined) name of the profile.
Return | |
---|---|
String! |
name of the profile |
getProtocol
open fungetProtocol(): String!
Deprecated: Deprecated in Java.
Gets the protocol used to connect to the server.
Return | |
---|---|
String! |
the protocol |
getProxyAddress
open fungetProxyAddress(): String!
Deprecated: Deprecated in Java.
Gets the network address of the server outbound proxy.
Return | |
---|---|
String! |
the network address of the server outbound proxy |
getSendKeepAlive
open fungetSendKeepAlive(): Boolean
Deprecated: Deprecated in Java.
Gets the flag of 'Sending keep-alive'.
Return | |
---|---|
Boolean |
the flag of sending SIP keep-alive messages. |
getSipDomain
open fungetSipDomain(): String!
Deprecated: Deprecated in Java.
Gets the SIP domain.
Return | |
---|---|
String! |
the SIP domain |
getUriString
open fungetUriString(): String!
Deprecated: Deprecated in Java.
Gets the SIP URI string of this profile.
Return | |
---|---|
String! |
the SIP URI string of this profile |
getUserName
open fungetUserName(): String!
Deprecated: Deprecated in Java.
Gets the username.
Return | |
---|---|
String! |
the username |
setCallingUid
open funsetCallingUid(uid: Int): Unit
Deprecated: Deprecated in Java.
Sets the calling process's Uid in the sip service.
writeToParcel
open funwriteToParcel(
out: Parcel,
flags: Int
): Unit
Deprecated: Deprecated in Java.
Parameters | |
---|---|
dest |
The Parcel in which the object should be written. This value cannot be null . |
flags |
Int: Additional flags about how the object should be written. May be 0 or PARCELABLE_WRITE_RETURN_VALUE . Value is either 0 or a combination of android.os.Parcelable#PARCELABLE_WRITE_RETURN_VALUE , and android.os.Parcelable.PARCELABLE_ELIDE_DUPLICATES |
Properties
CREATOR
static valCREATOR: Parcelable.Creator<SipProfile!>!
Deprecated: Deprecated in Java.