Documentation

DataTrackSchemaId extends Message
in package

Identifier for a data track schema.

Schemas with the same name but different encodings are distinct.

Generated from protobuf message livekit.DataTrackSchemaId

Table of Contents

Properties

$encoding  : mixed
Generated from protobuf field <code>.livekit.DataTrackSchemaEncoding encoding = 2;</code>
$name  : mixed
This must be non-empty and no longer than 256 characters.

Methods

__construct()  : mixed
Constructor.
clearEncoding()  : mixed
getEncoding()  : DataTrackSchemaEncoding|null
Generated from protobuf field <code>.livekit.DataTrackSchemaEncoding encoding = 2;</code>
getName()  : string
This must be non-empty and no longer than 256 characters.
hasEncoding()  : mixed
setEncoding()  : $this
Generated from protobuf field <code>.livekit.DataTrackSchemaEncoding encoding = 2;</code>
setName()  : $this
This must be non-empty and no longer than 256 characters.

Properties

$encoding

Generated from protobuf field <code>.livekit.DataTrackSchemaEncoding encoding = 2;</code>

protected mixed $encoding = null

$name

This must be non-empty and no longer than 256 characters.

protected mixed $name = ''

Generated from protobuf field string name = 1;

Methods

__construct()

Constructor.

public __construct([array<string|int, mixed> $data = null ]) : mixed
Parameters
$data : array<string|int, mixed> = null

{ Optional. Data for populating the Message object.

@type string $name
      This must be non-empty and no longer than 256 characters.
@type \Livekit\DataTrackSchemaEncoding $encoding

}

getName()

This must be non-empty and no longer than 256 characters.

public getName() : string

Generated from protobuf field string name = 1;

Return values
string

setName()

This must be non-empty and no longer than 256 characters.

public setName(string $var) : $this

Generated from protobuf field string name = 1;

Parameters
$var : string
Return values
$this
On this page

Search results