| CLASS info |
| public abstract @interface Permission |
| Nearby权限,调用Message#Put和Message#Get时,需要匹配相对应的请求权限,例如,试图使用BLE获取(Get)消息,但只请求了麦克风权限,将会导致Get失败 |
| Type | Name | Desc |
| int | PERMISSION_BLE | BLE权限 |
| int | PERMISSION_BLUETOOTH | 蓝牙权限 |
| int | PERMISSION_DEFAULT | 默认权限 |
| int | PERMISSION_MICROPHONE | 麦克风权限 |
| int | PERMISSION_NONE | 无权限 |
| Constant |
| public static final int PERMISSION_BLE |
| BLE权限。 Constant Value:1 |
| Constant |
| public static final int PERMISSION_BLUETOOTH |
| 蓝牙权限。 Constant Value:2 |
| Constant |
| public static final int PERMISSION_DEFAULT |
| 默认权限。 Constant Value:0 |
| Constant |
| public static final int PERMISSION_MICROPHONE |
| 麦克风权限。 Constant Value:3 |
| Constant |
| public static final int PERMISSION_NONE |
| 无权限。 Constant Value:-1 |