ContentLauncherTrait.LaunchUrlCommand.Request

class ContentLauncherTrait.LaunchUrlCommand.Request


The request payload for the LaunchUrl command.

Summary

Public constructors

Request(
    contentUrl: String,
    displayString: OptionalValue<String>,
    brandingInformation: OptionalValue<ContentLauncherTrait.BrandingInformationStruct>
)

Creates a request payload for the LaunchUrl command.

Public properties

OptionalValue<ContentLauncherTrait.BrandingInformationStruct>

The branding information that is displayed when playing back the content.

String

The URL of the content to launch.

OptionalValue<String>

A string that describes the content being accessed at the given URL.

Public constructors

Request

Request(
    contentUrl: String = "",
    displayString: OptionalValue<String> = OptionalValue.absent(),
    brandingInformation: OptionalValue<ContentLauncherTrait.BrandingInformationStruct> = OptionalValue.absent()
)

Creates a request payload for the LaunchUrl command.

Public properties

brandingInformation

val brandingInformationOptionalValue<ContentLauncherTrait.BrandingInformationStruct>

The branding information that is displayed when playing back the content.

contentUrl

val contentUrlString

The URL of the content to launch.

displayString

val displayStringOptionalValue<String>

A string that describes the content being accessed at the given URL.