Code example for PlusClient

Methods: isConnected, revokeAccessAndDisconnect

0
			plusClient.connect();
		} 
	} 
	 
	public void revokeAccess() { 
		if (plusClient.isConnected()) {
			plusClient.revokeAccessAndDisconnect(this);
		} 
	} 
	 
	public void loadPeople() { 
		plusClient.loadVisiblePeople(this, Person.Collection.VISIBLE, null);
	} 
	 
	public static void revokeAccess(Context context) {
		if (GooglePlayUtils.isGooglePlayServicesAvailable(context)) {
			LogoutListener logoutListener = new LogoutListener();
			PlusClient plusClient = new PlusClient.Builder(context, logoutListener, logoutListener).build();
			logoutListener.setPlusClient(plusClient);
			plusClient.connect();
		}