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.
See also:
Summary
Public constructors | |
|---|---|
RegistrationCallback()
|
|
Public methods | |
|---|---|
void
|
onRegistered(int imsTransportType)
This method was deprecated
in API level 31.
Use |
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 |
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
public void onRegistered (int imsTransportType)
This method was deprecated
in API level 31.
Use onRegistered(ImsRegistrationAttributes) instead.
Notifies the framework when the IMS Provider is registered to the IMS network.
| Parameters | |
|---|---|
imsTransportType |
int: the radio access technology.
Value is one of the following: |
onRegistered
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
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
public void onRegistering (int imsTransportType)
This method was deprecated
in API level 31.
Use onRegistering(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 one of the following: |
onTechnologyChangeFailed
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 one of the following: |
info |
ImsReasonInfo: A ImsReasonInfo that identifies the reason for failure.
This value cannot be null. |
onUnregistered
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. |