Code example for PlusClient

Methods: isConnected, revokeAccessAndDisconnect

0
	 
	/** 
	 * Revoke access to the current app. 
	 */ 
	public void revokeAccessAndDisconnect() { 
		if (plusClient.isConnected()) {
			plusClient.revokeAccessAndDisconnect(this);
		} 
	} 
	 
	/** 
	 * Attempts to connect the client to Google Play services if the client isn't already connected, and isn't in the 
	 * process of being connected. 
	 */ 
	private void connectPlusClient() { 
		if (!plusClient.isConnecting() && !plusClient.isConnected()) {
			plusClient.connect();
		} 
	} 
}