Language

DevicePolicyManager.IsOutgoingEsimTransferAllowed(Int32) Method

Definition

Returns whether an outgoing eSIM transfer is allowed for a specific subscription.

[Android.Runtime.Register("isOutgoingEsimTransferAllowed", "(I)Z", "GetIsOutgoingEsimTransferAllowed_IHandler", ApiSince=37)]
public virtual bool IsOutgoingEsimTransferAllowed(int subscriptionId);
[<Android.Runtime.Register("isOutgoingEsimTransferAllowed", "(I)Z", "GetIsOutgoingEsimTransferAllowed_IHandler", ApiSince=37)>]
abstract member IsOutgoingEsimTransferAllowed : int -> bool
override this.IsOutgoingEsimTransferAllowed : int -> bool

Parameters

subscriptionId
Int32

The ID of the subscription to check.

Returns

true if the eSIM transfer is allowed, or if the subscription is not managed or is a pSIM. Returns false if the subscription is a managed eSIM and the transfer is disallowed by policy.

Attributes

Applies to