Sdílet prostřednictvím


ImsStateCallback.OnUnavailable(Int32) Method

Definition

The IMS service has disconnected or is reporting NOT_READY and is no longer available to users.

[Android.Runtime.Register("onUnavailable", "(I)V", "GetOnUnavailable_IHandler", ApiSince=33)]
public abstract void OnUnavailable (int reason);
[<Android.Runtime.Register("onUnavailable", "(I)V", "GetOnUnavailable_IHandler", ApiSince=33)>]
abstract member OnUnavailable : int -> unit

Parameters

reason
Int32

the specified reason

Attributes

Remarks

The IMS service has disconnected or is reporting NOT_READY and is no longer available to users. The user should clean up all related state and unregister callbacks. If it is a temporary error, #onAvailable will be called when the IMS service becomes available again.

Java documentation for android.telephony.ims.ImsStateCallback.onUnavailable(int).

Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License.

Applies to