| ContentClientDownloadFileByUid Method |
Download File (Get File as a redirect to the S3 object) by uid. 'uid' is a parameter which should be taken from the response of the request for the creating a file. To have a possibility to download a file you should set a status complete to your file firstly.
Namespace: Quickblox.Sdk.Modules.ContentModuleAssembly: Quickblox.Sdk.Xamarin (in Quickblox.Sdk.Xamarin.dll) Version: 1.0.0.0 (1.0.0.0)
Syntaxpublic Task<HttpResponse<byte[]>> DownloadFileByUid(
string fileGuid,
bool isPublic
)
Public Function DownloadFileByUid (
fileGuid As String,
isPublic As Boolean
) As Task(Of HttpResponse(Of Byte()))
public:
Task<HttpResponse<array<unsigned char>^>^>^ DownloadFileByUid(
String^ fileGuid,
bool isPublic
)
member DownloadFileByUid :
fileGuid : string *
isPublic : bool -> Task<HttpResponse<byte[]>>
Parameters
- fileGuid
- Type: SystemString
The file unique identifier. - isPublic
- Type: SystemBoolean
Is file public
Return Value
Type:
TaskHttpResponseByteSuccess HTTP Status Code 301
See Also