| ContentClientDeleteFileAsync Method |
Delete file by ID. If there are some referents to the file the number of links will be reduced by 1 after deleting. A file will be deleted in fact when the number of links will be equal to 0.
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> DeleteFileAsync(
int fileId
)
Public Function DeleteFileAsync (
fileId As Integer
) As Task(Of HttpResponse)
public:
Task<HttpResponse^>^ DeleteFileAsync(
int fileId
)
member DeleteFileAsync :
fileId : int -> Task<HttpResponse>
Parameters
- fileId
- Type: SystemInt32
The file identifier.
Return Value
Type:
TaskHttpResponseHttpResponse
See Also