RegistrationCallback
open class RegistrationCallback
kotlin.Any | |
↳ | android.telephony.ims.RegistrationManager.RegistrationCallback |
Callback class for receiving IMS network Registration callback events.
Summary
Public constructors | |
---|---|
Public methods | |
---|---|
open Unit |
onRegistered(imsTransportType: Int) Notifies the framework when the IMS Provider is registered to the IMS network. |
open Unit |
onRegistered(attributes: ImsRegistrationAttributes) Notifies the framework when the IMS Provider is registered to the IMS network with corresponding attributes. |
open Unit |
onRegistering(imsTransportType: Int) Notifies the framework when the IMS Provider is trying to register the IMS network. |
open Unit |
onRegistering(attributes: ImsRegistrationAttributes) Notifies the framework when the IMS Provider is trying to register the IMS network. |
open Unit |
onTechnologyChangeFailed(imsTransportType: Int, info: ImsReasonInfo) A failure has occurred when trying to handover registration to another technology type. |
open Unit |
onUnregistered(info: ImsReasonInfo) Notifies the framework when the IMS Provider is unregistered from the IMS network. |
Public constructors
RegistrationCallback
RegistrationCallback()
Public methods
onRegistered
open funonRegistered(imsTransportType: Int): Unit
Deprecated: Use onRegistered(android.telephony.ims.ImsRegistrationAttributes)
instead.
Notifies the framework when the IMS Provider is registered to the IMS network.
Parameters | |
---|---|
imsTransportType |
Int: the radio access technology. Value is android.telephony.AccessNetworkConstants.TRANSPORT_TYPE_INVALID, android.telephony.AccessNetworkConstants#TRANSPORT_TYPE_WWAN , or android.telephony.AccessNetworkConstants#TRANSPORT_TYPE_WLAN |
onRegistered
open fun onRegistered(attributes: ImsRegistrationAttributes): Unit
Notifies the framework when the IMS Provider is registered to the IMS network with corresponding attributes.
Parameters | |
---|---|
attributes |
ImsRegistrationAttributes: The attributes associated with this IMS registration. This value cannot be null . |
onRegistering
open funonRegistering(imsTransportType: Int): Unit
Deprecated: Use onRegistering(android.telephony.ims.ImsRegistrationAttributes)
instead.
Notifies the framework when the IMS Provider is trying to register the IMS network.
Parameters | |
---|---|
imsTransportType |
Int: the radio access technology. Value is android.telephony.AccessNetworkConstants.TRANSPORT_TYPE_INVALID, android.telephony.AccessNetworkConstants#TRANSPORT_TYPE_WWAN , or android.telephony.AccessNetworkConstants#TRANSPORT_TYPE_WLAN |
onRegistering
open fun onRegistering(attributes: ImsRegistrationAttributes): Unit
Notifies the framework when the IMS Provider is trying to register the IMS network.
Parameters | |
---|---|
attributes |
ImsRegistrationAttributes: The attributes associated with this IMS registration. This value cannot be null . |
onTechnologyChangeFailed
open fun onTechnologyChangeFailed(
imsTransportType: Int,
info: ImsReasonInfo
): Unit
A failure has occurred when trying to handover registration to another technology type.
Parameters | |
---|---|
imsTransportType |
Int: The transport type that has failed to handover registration to. Value is android.telephony.AccessNetworkConstants.TRANSPORT_TYPE_INVALID, android.telephony.AccessNetworkConstants#TRANSPORT_TYPE_WWAN , or android.telephony.AccessNetworkConstants#TRANSPORT_TYPE_WLAN |
info |
ImsReasonInfo: A ImsReasonInfo that identifies the reason for failure. This value cannot be null . |
onUnregistered
open fun onUnregistered(info: ImsReasonInfo): Unit
Notifies the framework when the IMS Provider is unregistered from the IMS network.
Parameters | |
---|---|
info |
ImsReasonInfo: the ImsReasonInfo associated with why registration was disconnected. This value cannot be null . |