Language

SubscriptionManager.From(Context) Method

Definition

This member is deprecated.

[Android.Runtime.Register("from", "(Landroid/content/Context;)Landroid/telephony/SubscriptionManager;", "", ApiSince=22)]
public static Android.Telephony.SubscriptionManager? From(Android.Content.Context? context);
[<Android.Runtime.Register("from", "(Landroid/content/Context;)Landroid/telephony/SubscriptionManager;", "", ApiSince=22)>]
static member From : Android.Content.Context -> Android.Telephony.SubscriptionManager

Parameters

context
Context

The context from which to request the subscription service.

Returns

The subscription manager supplied by the context, or null if the service is unavailable.

Attributes

Remarks

This member is deprecated. developers should always obtain references directly from Context#getSystemService(Class).

Java documentation for android.telephony.SubscriptionManager.from(android.content.Context).

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