RemoteGestures

public class RemoteGestures


Entry point for you to instantiate the RemoteGestures API client.

Summary

Public methods

static RemoteGesturesClient
getClient(Activity activity)

Creates a new instance of RemoteGesturesClient.

static RemoteGesturesClient
getClient(Context context)

Creates a new instance of RemoteGesturesClient.

Public methods

getClient

public static RemoteGesturesClient getClient(Activity activity)

Creates a new instance of RemoteGesturesClient. A dialog might appear when the provided activity is in the foreground and, for example, Google Play services needs to be updated.

Parameters
Activity activity

The Activity used by this client.

getClient

public static RemoteGesturesClient getClient(Context context)

Creates a new instance of RemoteGesturesClient.

Parameters
Context context

The Context used by this client.