CustomContactAction

@Serializable
data class CustomContactAction(val label: String, val uri: Uri, val mimeType: String? = null, val packageName: String)

Custom contact action, for example, WhatsApp message, Telegram video call, etc.

Constructors

Link copied to clipboard
constructor(label: String, uri: Uri, mimeType: String? = null, packageName: String)

Properties

Link copied to clipboard
Link copied to clipboard
val mimeType: String? = null

Type that is passed to the Intent.

Link copied to clipboard

Package name of the app that handles this channel. Used to get the app icon, and label, and to group actions by app. If the app is not installed, the action will be ignored.

Link copied to clipboard
@Serializable(with = UriSerializer::class)
val uri: Uri

The data URI that is passed to the Intent.