| BrainCloudServiceClientFile_UploadFile Method |
[This is preliminary documentation and is subject to change.]
Prepares a user file upload. On success the file will begin uploading
to the brainCloud server.To be informed of success/failure of the upload
register an IFileUploadCallback with the BrainCloudClient class.
Namespace:
Ruyi.SDK.BrainCloudApi
Assembly:
ServiceGenerated (in ServiceGenerated.dll) Version: 0.9.3.3995 (0.9.3.3995)
Syntax public string File_UploadFile(
string cloudPath,
string cloudFilename,
bool shareable,
bool replaceIfExists,
string localPath,
int clientIndex
)
Parameters
- cloudPath
- Type: SystemString
The desired cloud path of the file - cloudFilename
- Type: SystemString
The desired cloud fileName of the file - shareable
- Type: SystemBoolean
True if the file is shareable - replaceIfExists
- Type: SystemBoolean
Whether to replace file if it exists - localPath
- Type: SystemString
The path and fileName of the local file - clientIndex
- Type: SystemInt32
@BrainCloud_clientIndex_desc
Return Value
Type:
String[Missing <returns> documentation for "M:Ruyi.SDK.BrainCloudApi.BrainCloudService.Client.File_UploadFile(System.String,System.String,System.Boolean,System.Boolean,System.String,System.Int32)"]
See Also