GoogleApiClient.ConnectionCallbacks

public interface GoogleApiClient.ConnectionCallbacks


Provides callbacks that are called when the client is connected or disconnected from the service. Most applications implement GoogleApiClient.ConnectionCallbacks#onConnected(Bundle) to start making requests.

Summary

Constants

default static final int

A suspension cause informing you that a peer device connection was lost.

default static final int

A suspension cause informing that the service has been killed.

Constants

CAUSE_NETWORK_LOST

default static final int CAUSE_NETWORK_LOST = 2

A suspension cause informing you that a peer device connection was lost.

CAUSE_SERVICE_DISCONNECTED

default static final int CAUSE_SERVICE_DISCONNECTED = 1

A suspension cause informing that the service has been killed.