public interface OnRequestReceivedListener

Listener to invoke when a new request is received.

Public Method Summary

abstract void
abstract void

Public Methods

public abstract void onRequestReceived (GameRequest request)

Callback invoked when a new request is received. This allows an app to respond to the request as appropriate. If the app receives this callback, the system will not display a notification for this request.

request The request that was received.

public abstract void onRequestRemoved (String requestId)

Callback invoked when a previously received request has been removed from the local device. For example, this might occur if the sender cancels the request.

requestId The ID of the request that was removed.