Code example for ConnectionResult

0
	private static final String STATE_REQUEST_CODE = "request_code";
	 
	/** 
	 * Signed in successfully connection state. 
	 */ 
	private static final ConnectionResult CONNECTION_RESULT_SUCCESS = new ConnectionResult(ConnectionResult.SUCCESS,
			null); 
	 
	/** 
	 * An invalid request code to use to indicate that {@link #signIn(int)} hasn't been called. 
	 */ 
	private static final int INVALID_REQUEST_CODE = -1;
	 
	// The PlusClient to connect. 
	private PlusClient plusClient;
	 
	// The last result from onConnectionFailed. 
	private ConnectionResult lastConnectionResult;
	 
	// The request specified in signIn or INVALID_REQUEST_CODE if not signing in. 
	private int requestCode;