AppMedia

data class AppMedia

A media object send from an App to the Keyboard SDK.

Summary

Constructors
AppMedia(media: AppMediaSource)
AppMedia(media: AppMediaSource, label: String?)
AppMedia(media: AppMediaSource, url: String?)
AppMedia(media: AppMediaSource, sourceQuery: String?)
AppMedia(media: AppMediaSource, label: String?, url: String?)
AppMedia(media: AppMediaSource, url: String?, sourceQuery: String?)
AppMedia(media: AppMediaSource, label: String?, url: String?, sourceQuery: String?)
Properties
AppMediaSource media
An AppMediaSource object.
String? label
Label of the media.
String? url
URL of the media.
String? sourceQuery

Constructors

AppMedia

AppMedia(media: AppMediaSource)
Parameters
media: AppMediaSource An AppMediaSource object.

AppMedia

AppMedia(media: AppMediaSource, label: String?)
Parameters
media: AppMediaSource An AppMediaSource object.
label: String? Label of the media.

AppMedia

AppMedia(media: AppMediaSource, url: String?)
Parameters
media: AppMediaSource An AppMediaSource object.
url: String? URL of the media.

AppMedia

AppMedia(media: AppMediaSource, sourceQuery: String?)
Parameters
media: AppMediaSource An AppMediaSource object.
sourceQuery: String?

AppMedia

AppMedia(media: AppMediaSource, label: String?, url: String?)
Parameters
media: AppMediaSource An AppMediaSource object.
label: String? Label of the media.
url: String? URL of the media.

AppMedia

AppMedia(media: AppMediaSource, url: String?, sourceQuery: String?)
Parameters
media: AppMediaSource An AppMediaSource object.
url: String? URL of the media.
sourceQuery: String?

AppMedia

AppMedia(media: AppMediaSource, label: String?, url: String?, sourceQuery: String?)
Parameters
media: AppMediaSource An AppMediaSource object.
label: String? Label of the media.
url: String? URL of the media.
sourceQuery: String?

Properties

media

val media: AppMediaSource

An AppMediaSource object.

label

val label: String? = null

Label of the media.

url

val url: String? = null

URL of the media.

sourceQuery

val sourceQuery: String? = null

If something needs to be added or if you find an error in our documentation, please let us know either on our GitHub or Discord.

Last updated on June 16, 2023