Google is committed to advancing racial equity for Black communities. See how.

StatusCallback

public abstract class StatusCallback extends Object

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

Public Constructor Summary

Public Method Summary

void
onPermissionChanged(boolean permissionGranted)
Called when permission is granted or revoked for this app to use Nearby.

Inherited Method Summary

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 if true, your app is allowed to use Nearby, false otherwise.