Sdílet prostřednictvím


VisualVoicemailService.OnSimRemoved Method

Definition

Called when a SIM is removed.

[Android.Runtime.Register("onSimRemoved", "(Landroid/telephony/VisualVoicemailService$VisualVoicemailTask;Landroid/telecom/PhoneAccountHandle;)V", "GetOnSimRemoved_Landroid_telephony_VisualVoicemailService_VisualVoicemailTask_Landroid_telecom_PhoneAccountHandle_Handler", ApiSince=26)]
public abstract void OnSimRemoved (Android.Telephony.VisualVoicemailService.VisualVoicemailTask? task, Android.Telecom.PhoneAccountHandle? phoneAccountHandle);
[<Android.Runtime.Register("onSimRemoved", "(Landroid/telephony/VisualVoicemailService$VisualVoicemailTask;Landroid/telecom/PhoneAccountHandle;)V", "GetOnSimRemoved_Landroid_telephony_VisualVoicemailService_VisualVoicemailTask_Landroid_telecom_PhoneAccountHandle_Handler", ApiSince=26)>]
abstract member OnSimRemoved : Android.Telephony.VisualVoicemailService.VisualVoicemailTask * Android.Telecom.PhoneAccountHandle -> unit

Parameters

task
VisualVoicemailService.VisualVoicemailTask

The task representing this event. VisualVoicemailTask#finish() must be called when the task is completed.

phoneAccountHandle
PhoneAccountHandle

The PhoneAccountHandle triggering this event.

Attributes

Remarks

Java documentation for android.telephony.VisualVoicemailService.onSimRemoved(android.telephony.VisualVoicemailTask, android.telecom.PhoneAccountHandle).

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