PushAvStreamTransportTrait.ModifyPushTransportCommand.Request

class PushAvStreamTransportTrait.ModifyPushTransportCommand.Request : ClusterStruct


The request payload for the ModifyPushTransport command.

Summary

Nested types

Descriptor enum for this command's request fields.

Public constructors

Request(
    connectionId: UShort,
    transportOptions: PushAvStreamTransportTrait.TransportOptionsStruct
)

Creates a request payload for the ModifyPushTransport 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

UShort

The connection ID of the transport to set.

PushAvStreamTransportTrait.TransportOptionsStruct

The transport option to set for a connection.

Public constructors

Request

Request(
    connectionId: UShort,
    transportOptions: PushAvStreamTransportTrait.TransportOptionsStruct = TransportOptionsStruct()
)

Creates a request payload for the ModifyPushTransport command.

Public functions

getDescriptor

@HomeExperimentalGenericApi
open fun getDescriptor(): StructDescriptor

Returns the descriptor for the struct.

getFieldValueById

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

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

Public properties

connectionId

val connectionIdUShort

The connection ID of the transport to set.

transportOptions

val transportOptionsPushAvStreamTransportTrait.TransportOptionsStruct

The transport option to set for a connection. Valid values are defined in TransportOptionsStruct.