| CLASS info |
| public abstract class StatusCallback |
| Represents the callback for MessageEngine status changes. |
| Constructor name |
| public StatusCallback() Creates an instance of StatusCallback. |
| Return | Method |
| void | onPermissionChanged(boolean grantPermission) Called when a Nearby permission is assigned or revoked. |
| Constructor |
| public StatusCallback() |
| Creates an instance of StatusCallback. |
| Method |
| public void onPermissionChanged(boolean grantPermission) |
| Called when a Nearby permission is assigned or revoked. |
Parameters
| Parameter name | Parameter desc |
| grantPermission | Indicates whether a permission is granted. The options are true and false. |