protected String getBaseUri ( ) { if ( mSession != null && mSession . getAuthInfo ( ) != null && mSession . getAuthInfo ( ) . getBaseDomain ( ) != null ) { return String . format ( BoxConstants . BASE_URI_TEMPLATE , mSession . getAuthInfo ( ) . getBaseDomain ( ) ) ; } return mBaseUri ; }
Returns the base URI for the API .