Share via


UserManager.DisallowChangeNearFieldCommunicationRadio Field

Definition

This user restriction specifies if Near-field communication is disallowed to change on the device.

[Android.Runtime.Register("DISALLOW_CHANGE_NEAR_FIELD_COMMUNICATION_RADIO", ApiSince=36)]
public const string DisallowChangeNearFieldCommunicationRadio;
[<Android.Runtime.Register("DISALLOW_CHANGE_NEAR_FIELD_COMMUNICATION_RADIO", ApiSince=36)>]
val mutable DisallowChangeNearFieldCommunicationRadio : string

Field Value

Attributes

Remarks

This user restriction specifies if Near-field communication is disallowed to change on the device. If Near-field communication is disallowed it cannot be changed via Settings.

This restriction can only be set by a device owner or a profile owner of an organization-owned managed profile on the parent profile. In both cases, the restriction applies globally on the device and will not allow Near-field communication state being changed.

Near-field communication (NFC) is a radio technology that allows two devices (like your phone and a payments terminal) to communicate with each other when they're close together.

Default is false.

Key for user restrictions.

Type: Boolean

Java documentation for android.os.UserManager.DISALLOW_CHANGE_NEAR_FIELD_COMMUNICATION_RADIO.

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