Partager via


SubscriptionManager.SubscriptionTypeRemoteSim Field

Definition

Caution

This constant will be removed in the future version. Use Android.Telephony.SubscriptionType enum directly instead of this field.

This constant is to designate a subscription as a Remote-SIM Subscription.

[Android.Runtime.Register("SUBSCRIPTION_TYPE_REMOTE_SIM", ApiSince=29)]
[System.Obsolete("This constant will be removed in the future version. Use Android.Telephony.SubscriptionType enum directly instead of this field.", true)]
public const Android.Telephony.SubscriptionType SubscriptionTypeRemoteSim = 1;
[<Android.Runtime.Register("SUBSCRIPTION_TYPE_REMOTE_SIM", ApiSince=29)>]
[<System.Obsolete("This constant will be removed in the future version. Use Android.Telephony.SubscriptionType enum directly instead of this field.", true)>]
val mutable SubscriptionTypeRemoteSim : Android.Telephony.SubscriptionType

Field Value

Value = 1
Attributes

Remarks

This constant is to designate a subscription as a Remote-SIM Subscription.

A Remote-SIM subscription is for a SIM on a phone connected to this device via some connectivity mechanism, for example bluetooth. Similar to Local SIM, this subscription can be used for SMS, Voice and data by proxying data through the connected device. Certain data of the SIM, such as IMEI, are not accessible for Remote SIMs.

A Remote-SIM is available only as long the phone stays connected to this device. When the phone disconnects, Remote-SIM subscription is removed from this device and is no longer known. All data associated with the subscription, such as stored SMS, call logs, contacts etc, are removed from this device.

If the phone re-connects to this device, a new Remote-SIM subscription is created for the phone. The Subscription Id associated with the new subscription is different from the Subscription Id of the previous Remote-SIM subscription created (and removed) for the phone; i.e., new Remote-SIM subscription treats the reconnected phone as a Remote-SIM that was never seen before.

Java documentation for android.telephony.SubscriptionManager.SUBSCRIPTION_TYPE_REMOTE_SIM.

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