目录

CLASS info
public abstract @interface Permission
Nearby permissions. When Message#Put or Message#Get is called, corresponding permissions are required. For example, requesting only the microphone permission will result in the failure of subscribing to messages using BLE.

Constant Summary

TypeNameDesc
intPERMISSION_BLEBLE permission.
intPERMISSION_BLUETOOTHBluetooth permission.
intPERMISSION_DEFAULTDefault permission.
intPERMISSION_MICROPHONEMicrophone permission.
intPERMISSION_NONENo permission.

Constants

Constant
public static final int PERMISSION_BLE
BLE permission.
Constant value: 1
Constant
public static final int PERMISSION_BLUETOOTH
Bluetooth permission.
Constant value: 2
Constant
public static final int PERMISSION_DEFAULT
Default permission.
Constant value: 0
Constant
public static final int PERMISSION_MICROPHONE
Microphone permission.
Constant value: 3
Constant
public static final int PERMISSION_NONE
No permission.
Constant value: -1