ContentLauncherTrait.LaunchUrlCommand.Response

class ContentLauncherTrait.LaunchUrlCommand.Response : ClusterStruct


The outcome of the LaunchUrl command.

Summary

Nested types

Descriptor enum for this command's request fields.

Public constructors

Creates a response payload from the LaunchUrl command.

Public functions

open StructDescriptor

Returns the descriptor for the struct.

open Any?

Returns the value of the field for the given tag ID.

Public properties

String?

Optional app-specific data.

ContentLauncherTrait.StatusEnum

The status of the LaunchUrl command.

Public constructors

Response

Response(
    status: ContentLauncherTrait.StatusEnum = StatusEnum.Success,
    data: String? = null
)

Creates a response payload from the LaunchUrl command.

Public functions

getDescriptor

@HomeExperimentalApi
open fun getDescriptor(): StructDescriptor

Returns the descriptor for the struct.

getFieldValueById

@HomeExperimentalApi
open fun getFieldValueById(tagId: UInt): Any?

Returns the value of the field for the given tag ID.

Public properties

data

val dataString?

Optional app-specific data.

status

val statusContentLauncherTrait.StatusEnum

The status of the LaunchUrl command.