Added in API level 31

ImsRegistrationAttributes


class ImsRegistrationAttributes : Parcelable
kotlin.Any
   ↳ android.telephony.ims.ImsRegistrationAttributes

Contains the attributes associated with the current IMS registration.

Summary

Constants
static Int

Attribute to specify if an EPDG tunnel is setup over the cellular internet APN.

Inherited constants
Public methods
Int

Boolean
equals(other: Any?)

Int

MutableSet<String!>

Gets the Set of feature tags associated with the current IMS registration, if the IMS service supports supplying this information.

SipDetails?

Int

Int

String

Unit
writeToParcel(dest: Parcel, flags: Int)

Flatten this object in to a Parcel.

Properties
static Parcelable.Creator<ImsRegistrationAttributes!>

Constants

ATTR_EPDG_OVER_CELL_INTERNET

Added in API level 31
static val ATTR_EPDG_OVER_CELL_INTERNET: Int

Attribute to specify if an EPDG tunnel is setup over the cellular internet APN.

If IMS is registered through an EPDG tunnel is setup over the cellular internet APN then this bit will be set. If IMS is registered through the IMS APN, then this bit will not be set.

Value: 1

Public methods

describeContents

Added in API level 31
fun describeContents(): Int
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

equals

Added in API level 31
fun equals(other: Any?): Boolean
Parameters
obj the reference object with which to compare.
Return
Boolean true if this object is the same as the obj argument; false otherwise.

getAttributeFlags

Added in API level 31
fun getAttributeFlags(): Int
Return
Int A bit-mask containing attributes associated with the IMS registration. Value is either 0 or a combination of android.telephony.ims.ImsRegistrationAttributes#ATTR_EPDG_OVER_CELL_INTERNET, android.telephony.ims.ImsRegistrationAttributes.ATTR_REGISTRATION_TYPE_EMERGENCY, and android.telephony.ims.ImsRegistrationAttributes.ATTR_VIRTUAL_FOR_ANONYMOUS_EMERGENCY_CALL

getFeatureTags

Added in API level 31
fun getFeatureTags(): MutableSet<String!>

Gets the Set of feature tags associated with the current IMS registration, if the IMS service supports supplying this information.

The format of the set of feature tags will be one feature tag key and value per entry and will potentially contain MMTEL and RCS feature tags, depending the configuration of the IMS service associated with the registration indications. Each feature tag will contain the feature tag name and string value (if applicable), even if they have the same feature tag name. For example, +g.3gpp.icsi-ref="urn%3Aurn-7%3A3gpp-service.ims.icsi.oma.cpm.msg, urn%3Aurn-7%3A3gpp-service.ims.icsi.oma.cpm.session", +g.gsma.callcomposer will be split into three feature tag entries: {+g.3gpp.icsi-ref="urn%3Aurn-7%3A3gpp-service.ims.icsi.oma.cpm.msg", +g.3gpp.icsi-ref="urn%3Aurn-7%3A3gpp-service.ims.icsi.oma.cpm.session", +g.gsma.callcomposer}.

Return
MutableSet<String!> The Set of feature tags associated with the current IMS registration. This value cannot be null.

getSipDetails

Added in API level 34
fun getSipDetails(): SipDetails?
Return
SipDetails? The SIP information associated with the IMS registration. This value may be null.

getTransportType

Added in API level 31
fun getTransportType(): Int
Return
Int The access network transport type that IMS has been registered over. Value is android.telephony.AccessNetworkConstants.TRANSPORT_TYPE_INVALID, android.telephony.AccessNetworkConstants#TRANSPORT_TYPE_WWAN, or android.telephony.AccessNetworkConstants#TRANSPORT_TYPE_WLAN

hashCode

Added in API level 31
fun hashCode(): Int
Return
Int a hash code value for this object.

toString

Added in API level 31
fun toString(): String
Return
String a string representation of the object.

writeToParcel

Added in API level 31
fun writeToParcel(
    dest: Parcel,
    flags: Int
): Unit

Flatten this object in to a Parcel.

Parameters
dest Parcel: 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

Added in API level 31
static val CREATOR: Parcelable.Creator<ImsRegistrationAttributes!>