Start line:  
End line:  

Snippet Preview

Snippet HTML Code

Stack Overflow Questions
 package com.box.androidsdk.content;
 
Base class for the Box API endpoint classes.
 
 public class BoxApi {
 
    protected BoxSession mSession;
    protected String mBaseUri = .;
    protected String mBaseUploadUri = .;

    
Constructs a BoxApi with the provided BoxSession.

Parameters:
session authenticated session to use with the BoxApi.
    public BoxApi(BoxSession session) {
        this. = session;
    }

    
Returns the base URI for the API.

Returns:
base URI for the API.
    protected String getBaseUri() {
        return ;
    }

    
Returns the base URI for uploads for the API.

Returns:
base upload URI.
    protected String getBaseUploadUri() {
        return ;
    }
New to GrepCode? Check out our FAQ X