Поделиться через


SubscriptionManager.From(Context) Метод

Определение

Этот элемент устарел.

[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

Параметры

context
Context

Возвращаемое значение

Атрибуты

Комментарии

Этот элемент устарел. Разработчики всегда должны получать ссылки непосредственно из Context#getSystemService(Class).

Документация по Java для android.telephony.SubscriptionManager.from(android.content.Context).

Части этой страницы являются изменениями, основанными на работе, созданной и совместно используемой проектом и используемой в соответствии с условиями, Creative Commons 2.5 Attribution License Creative Commons 2.5 Attribution License.

Применяется к