upload Media File
fun uploadMediaFile(templatePayload: ZTMediaFileTemplatePayload, context: Context? = null): Observable<ZTMediaFileTemplate>
Content copied to clipboard
Upload media file to zt cloud storage. Should be linked with entity afterwards
Return
Observable emits ZTMediaFileTemplate what should be used for linking
Parameters
templatePayload
file for upload
context
for file access, default is application context