java.lang.Object | |
↳ | com.google.android.gms.plus.PlusClient |
This class is deprecated.
See GoogleApiClient
.
Nested Classes | |||||||||||||||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
PlusClient.Builder |
This class is deprecated.
See GoogleApiClient.Builder .
|
||||||||||||||||||||||||||||||||
PlusClient.OnAccessRevokedListener | This interface is deprecated. No replacement. | ||||||||||||||||||||||||||||||||
PlusClient.OnMomentsLoadedListener |
This interface is deprecate
d.
See Moments.LoadMomentsResult .
|
||||||||||||||||||||||||||||||||
PlusClient.OnPeopleLoadedListener |
This interface is deprecated.
See People.LoadPeopleResult .
|
||||||||||||||||||||||||||||||||
PlusClient.OrderBy |
This interface is deprecated.
See People.OrderBy .
|
[Expand]
Inherited Methods | |||||||||||||||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
![]() | |||||||||||||||||||||||||||||||||
![]()
|
This method is deprecated.
See connect()
.
Connects the client to Google Play services. This method returns immediately, and connects to
the service in the background. If the connection is successful,
onConnected(Bundle)
is called. On a
failure, onConnectionFailed(ConnectionResult)
is called.
This method is deprecated.
See disconnect()
.
Closes the connection to Google Play services. No calls can be made on this object after calling this method.
This method is deprecated.
See isConnected()
.
Checks if the client is currently connected to the service, so that requests to other methods will succeed. Applications should guard client actions caused by the user with a call to this method.
This method is deprecated.
See isConnecting()
.
Checks if the client is attempting to connect to the service.
This method is deprecated.
See isConnectionCallbacksRegistered(GoogleApiClient.ConnectionCallbacks)
.
Returns true if the specified listener is currently registered to receive connection events.
listener | The listener to check for. |
---|
This method is deprecated.
See isConnectionFailedListenerRegistered(GoogleApiClient.OnConnectionFailedListener)
.
Returns true if the specified listener is currently registered to receive connection failed events.
listener | The listener to check for. |
---|
This method is deprecated.
See registerConnectionCallbacks(GoogleApiClient.ConnectionCallbacks)
.
Registers a listener to receive connection events from this GooglePlayServicesClient
.
If the service is already connected, the listener's onConnected(Bundle)
method will be called immediately. Applications should balance calls to this method with
calls to unregisterConnectionCallbacks(ConnectionCallbacks)
to avoid leaking
resources.
If the specified listener is already registered to receive connection events, this
method will not add a duplicate entry for the same listener, but will
still call the listener's onConnected(Bundle)
method if currently
connected.
Note that the order of messages received here may not be stable, so clients should not rely on the order that multiple listeners receive events in.
listener | the listener where the results of the asynchronous connect() call are
delivered.
|
---|
This method is deprecated.
See registerConnectionFailedListener(GoogleApiClient.OnConnectionFailedListener)
.
Registers a listener to receive connection failed events from this
GooglePlayServicesClient
. Unlike registerConnectionCallbacks(GooglePlayServicesClient.ConnectionCallbacks)
, if the service
is not already connected, the listener's
onConnectionFailed(ConnectionResult)
method will not be called immediately.
Applications should balance calls to this method with calls to
unregisterConnectionFailedListener(OnConnectionFailedListener)
to avoid leaking
resources.
If the specified listener is already registered to receive connection failed events, this method will not add a duplicate entry for the same listener.
Note that the order of messages received here may not be stable, so clients should not rely on the order that multiple listeners receive events in.
listener | the listener where the results of the asynchronous connect() call are
delivered.
|
---|
This method is deprecated.
See unregisterConnectionCallbacks(GoogleApiClient.ConnectionCallbacks)
.
Removes a connection listener from this GooglePlayServicesClient
. Note that removing
a listener does not generate any callbacks.
If the specified listener is not currently registered to receive connection events, this method will have no effect.
listener | the listener to unregister. |
---|
This method is deprecated.
See unregisterConnectionFailedListener(GoogleApiClient.OnConnectionFailedListener)
.
Removes a connection failed listener from the GooglePlayServicesClient
.
Note that removing a listener does not generate any callbacks.
If the specified listener is not currently registered to receive connection failed events, this method will have no effect.
listener | the listener to unregister. |
---|