public abstract class

StatusCallback

extends Object
java.lang.Object
   ↳ com.google.android.gms.nearby.messages.StatusCallback

Class Overview

Callbacks for global status changes that affect a client of Nearby Messages.

Summary

Public Constructors
StatusCallback()
Public Methods
void onPermissionChanged(boolean permissionGranted)
Called when permission is granted or revoked for this app to use Nearby.
[Expand]
Inherited Methods
From class java.lang.Object

Public Constructors

public StatusCallback ()

Public Methods

public void onPermissionChanged (boolean permissionGranted)

Called when permission is granted or revoked for this app to use Nearby.

Parameters
permissionGranted boolean: if true, your app is allowed to use Nearby, false otherwise.