Package com.bitheads.braincloud.services
Class GlobalFileService
java.lang.Object
com.bitheads.braincloud.services.GlobalFileService
public class GlobalFileService extends Object
-
Constructor Summary
Constructors Constructor Description GlobalFileService(BrainCloudClient client) -
Method Summary
Modifier and Type Method Description voidgetFileInfo(String fileId, IServerCallback callback)Returns information on a file using fileId.voidgetFileInfoSimple(String folderPath, String filename, IServerCallback callback)Returns information on a file using path and name.voidgetGlobalCDNUrl(String fileId, IServerCallback callback)Return CDN url for file for clients that cannot handle redirect.voidgetGlobalFileList(String folderPath, boolean recurse, IServerCallback callback)Return CDN url for file for clients that cannot handle redirect.
-
Constructor Details
-
GlobalFileService
-
-
Method Details
-
getFileInfo
Returns information on a file using fileId. Service Name - globalFile Service Operation - ACCEPT_GROUP_INVITATION- Parameters:
fileId- the file's ID.callback- The method to be invoked when the server response is received
-
getFileInfoSimple
Returns information on a file using path and name. Service Name - globalFile Service Operation - GET_FILE_INFO_SIMPLE- Parameters:
folderPath- the folder path the file is stored in.filename- the name of the file beign soughtcallback- The method to be invoked when the server response is received
-
getGlobalCDNUrl
Return CDN url for file for clients that cannot handle redirect. Service Name - globalFile Service Operation - GET_GLOBAL_CDN_URL- Parameters:
fileId- the file's ID.callback- The method to be invoked when the server response is received
-
getGlobalFileList
Return CDN url for file for clients that cannot handle redirect. Service Name - globalFile Service Operation - GET_GLOBAL_FILE_LIST- Parameters:
folderPath- the folder path the file is stored in.recurse- does it recurse?callback- The method to be invoked when the server response is received
-