Udostępnij za pośrednictwem


TelecomManager.GetSimCallManagerForSubscription(Int32) Method

Definition

Returns current SIM call manager for the Telephony Subscription ID specified.

[Android.Runtime.Register("getSimCallManagerForSubscription", "(I)Landroid/telecom/PhoneAccountHandle;", "GetGetSimCallManagerForSubscription_IHandler", ApiSince=30)]
public virtual Android.Telecom.PhoneAccountHandle? GetSimCallManagerForSubscription (int subscriptionId);
[<Android.Runtime.Register("getSimCallManagerForSubscription", "(I)Landroid/telecom/PhoneAccountHandle;", "GetGetSimCallManagerForSubscription_IHandler", ApiSince=30)>]
abstract member GetSimCallManagerForSubscription : int -> Android.Telecom.PhoneAccountHandle
override this.GetSimCallManagerForSubscription : int -> Android.Telecom.PhoneAccountHandle

Parameters

subscriptionId
Int32

The Telephony Subscription ID that the SIM call manager should be queried for.

Returns

The phone account handle of the current sim call manager.

Attributes

Remarks

Returns current SIM call manager for the Telephony Subscription ID specified. Apps must be prepared for this method to return null, indicating that there currently exists no SIM call manager PhoneAccount for the subscription specified.

Java documentation for android.telecom.TelecomManager.getSimCallManagerForSubscription(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