다음을 통해 공유


SubscriptionManager.CanManageSubscription(SubscriptionInfo) 메서드

정의

지정된 컨텍스트를 가진 앱이 해당 메타데이터에 따라 지정된 구독을 관리할 권한이 있는지 여부를 확인합니다.

[Android.Runtime.Register("canManageSubscription", "(Landroid/telephony/SubscriptionInfo;)Z", "GetCanManageSubscription_Landroid_telephony_SubscriptionInfo_Handler", ApiSince=28)]
public virtual bool CanManageSubscription (Android.Telephony.SubscriptionInfo? info);
[<Android.Runtime.Register("canManageSubscription", "(Landroid/telephony/SubscriptionInfo;)Z", "GetCanManageSubscription_Landroid_telephony_SubscriptionInfo_Handler", ApiSince=28)>]
abstract member CanManageSubscription : Android.Telephony.SubscriptionInfo -> bool
override this.CanManageSubscription : Android.Telephony.SubscriptionInfo -> bool

매개 변수

info
SubscriptionInfo

확인할 구독입니다.

반환

앱이 해당 메타데이터에 따라 이 구독을 관리할 수 있는 권한이 있는지 여부입니다.

특성

설명

지정된 컨텍스트를 가진 앱이 해당 메타데이터에 따라 지정된 구독을 관리할 권한이 있는지 여부를 확인합니다.

포함된 구독에 대해서만 지원됩니다(true를 반환하는 경우 SubscriptionInfo#isEmbedded ). 포함되지 않은 구독에 대한 사용 권한도 확인하려면 다음을 참조하세요 android.telephony.TelephonyManager#hasCarrierPrivileges.

에 대한 android.telephony.SubscriptionManager.canManageSubscription(android.telephony.SubscriptionInfo)Java 설명서

이 페이지의 일부는 Android 오픈 소스 프로젝트에서 만들고 공유하고 Creative Commons 2.5 특성 라이선스에 설명된 용어에 따라 사용되는 작업을 기반으로 하는 수정 사항입니다.

적용 대상