Udostępnij za pośrednictwem


VisualVoicemailService.OnCellServiceConnected Method

Definition

Called when the cellular service is connected on a PhoneAccountHandle for the first time, or when the carrier config has changed.

[Android.Runtime.Register("onCellServiceConnected", "(Landroid/telephony/VisualVoicemailService$VisualVoicemailTask;Landroid/telecom/PhoneAccountHandle;)V", "GetOnCellServiceConnected_Landroid_telephony_VisualVoicemailService_VisualVoicemailTask_Landroid_telecom_PhoneAccountHandle_Handler", ApiSince=26)]
public abstract void OnCellServiceConnected (Android.Telephony.VisualVoicemailService.VisualVoicemailTask? task, Android.Telecom.PhoneAccountHandle? phoneAccountHandle);
[<Android.Runtime.Register("onCellServiceConnected", "(Landroid/telephony/VisualVoicemailService$VisualVoicemailTask;Landroid/telecom/PhoneAccountHandle;)V", "GetOnCellServiceConnected_Landroid_telephony_VisualVoicemailService_VisualVoicemailTask_Landroid_telecom_PhoneAccountHandle_Handler", ApiSince=26)>]
abstract member OnCellServiceConnected : 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.onCellServiceConnected(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