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)

This method was deprecated in API level 31. Use onRegistered(android.telephony.ims.ImsRegistrationAttributes) instead.

void onRegistered(ImsRegistrationAttributes attributes)

Notifies the framework when the IMS Provider is registered to the IMS network with corresponding attributes.

void onRegistering(ImsRegistrationAttributes attributes)

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

void onRegistering(int imsTransportType)

This method was deprecated in API level 31. Use onRegistering(android.telephony.ims.ImsRegistrationAttributes) instead.

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
Deprecated in API level 31
public void onRegistered (int imsTransportType)

This method was deprecated in API level 31.
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, AccessNetworkConstants.TRANSPORT_TYPE_WWAN, or AccessNetworkConstants.TRANSPORT_TYPE_WLAN

onRegistered

Added in API level 31
public void onRegistered (ImsRegistrationAttributes attributes)

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

Added in API level 31
public void onRegistering (ImsRegistrationAttributes attributes)

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.

onRegistering

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

This method was deprecated in API level 31.
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, 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.