java.lang.Object | |
↳ | com.samsung.android.knox.ex.KnoxContract.Config.NFC |
Deprecated in API level 37
This class provides to manage
KEY_NFC
turn NFC on or off Constants | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
String | CONTENT_URI_STRING | ||||||||||
String | ID | ||||||||||
String | KEY_NFC |
Deprecated
in API level 37 NOTE: This API is not available since Android 16. |
|||||||||
String | PARAM_NFC |
Public Constructors | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
[Expand]
Inherited Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
![]() |
Deprecated
in API level 37
NOTE: This API is not available since Android 16.
PARAM_NFC
the value used to turn on NFC. e.g., 'true' for turn on,otherwise 'false' Uri uri = Uri.parse("content://com.samsung.android.knox.sdk/config/nfc"); ContentValues contentValues = new ContentValues(); contentValues.put("nfc", "true"); String selection = "key=?"; String[] selectionArgs = new String[] {"nfc"}; mContext.getContentResolver().update(uri, contentValues, selection, selectionArgs); |
API level 34 |
Knox 3.7.1 |
The use of this feature requires the caller to have the "com.samsung.android.knox.permission.KNOX_NDA_DEVICE_SETTINGS_RT" permission. |