Companion

object Companion

Functions

Link copied to clipboard
@JvmName(name = "create")
operator fun invoke(content: ByteArray, mimeType: String, fileName: String, friendlyName: String?): ContentDescriptor

Constructs new ContentDescriptor with ByteArray data.

@JvmName(name = "create")
operator fun invoke(content: Uri, context: Context, mimeType: String, fileName: String, friendlyName: String? = null): ContentDescriptor

Constructs new ContentDescriptor with android.net.Uri data.