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

GoogleApiClient.ConnectionCallbacks

public static interface GoogleApiClient.ConnectionCallbacks

This interface is deprecated.
use GoogleApi based APIs instead. see moving past googleapiclient. API implementors should use the stand-alone ConnectionCallbacks instead.

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.

Constant Summary

int CAUSE_NETWORK_LOST A suspension cause informing you that a peer device connection was lost.
int CAUSE_SERVICE_DISCONNECTED A suspension cause informing that the service has been killed.

Constants

public static final int CAUSE_NETWORK_LOST

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

Constant Value: 2

public static final int CAUSE_SERVICE_DISCONNECTED

A suspension cause informing that the service has been killed.

Constant Value: 1