Google is committed to advancing racial equity for Black communities. See how.

RegistrationManager.RegistrationCallback

public static class RegistrationManager.RegistrationCallback
extends Object

java.lang.Object
   ↳ android.telephony.ims.RegistrationManager.RegistrationCallback


Callback class for receiving IMS network Registration callback events.

Summary

Public constructors

RegistrationCallback()

Public methods

void onRegistered(int imsTransportType)

Notifies the framework when the IMS Provider is registered to the IMS network.

void onRegistering(int imsTransportType)

Notifies the framework when the IMS Provider is trying to register the IMS network.

void onTechnologyChangeFailed(int imsTransportType, ImsReasonInfo info)

A failure has occurred when trying to handover registration to another technology type.

void onUnregistered(ImsReasonInfo info)

Notifies the framework when the IMS Provider is unregistered from the IMS network.

Inherited methods

Public constructors

RegistrationCallback

public RegistrationCallback ()

Public methods

onRegistered

Added in API level 30
public void onRegistered (int imsTransportType)

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, AccessNetworkConstants.TRANSPORT_TYPE_WWAN, or AccessNetworkConstants.TRANSPORT_TYPE_WLAN

onRegistering

Added in API level 30
public void onRegistering (int imsTransportType)

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, AccessNetworkConstants.TRANSPORT_TYPE_WWAN, or AccessNetworkConstants.TRANSPORT_TYPE_WLAN

onTechnologyChangeFailed

Added in API level 30
public void onTechnologyChangeFailed (int imsTransportType, 
                ImsReasonInfo info)

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, AccessNetworkConstants.TRANSPORT_TYPE_WWAN, or AccessNetworkConstants.TRANSPORT_TYPE_WLAN

info ImsReasonInfo: A ImsReasonInfo that identifies the reason for failure. This value cannot be null.

onUnregistered

Added in API level 30
public void onUnregistered (ImsReasonInfo info)

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.