Documentation

DataTrackSchemaEncoding extends Message
in package

Encoding for schema definition.

Generated from protobuf message livekit.DataTrackSchemaEncoding

Table of Contents

Properties

$value  : mixed

Methods

__construct()  : mixed
Constructor.
getCustom()  : string
Identifier of a custom encoding not covered by the well-known cases.
getValue()  : string
getWellKnown()  : int
Generated from protobuf field <code>.livekit.DataTrackSchemaEncoding.WellKnownSchemaEncoding well_known = 1;</code>
hasCustom()  : mixed
hasWellKnown()  : mixed
setCustom()  : $this
Identifier of a custom encoding not covered by the well-known cases.
setWellKnown()  : $this
Generated from protobuf field <code>.livekit.DataTrackSchemaEncoding.WellKnownSchemaEncoding well_known = 1;</code>

Properties

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 int $well_known
@type string $custom
      Identifier of a custom encoding not covered by the well-known cases.
      This must be non-empty and no longer than 32 characters.

}

getCustom()

Identifier of a custom encoding not covered by the well-known cases.

public getCustom() : string

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

Generated from protobuf field string custom = 2;

Return values
string

getWellKnown()

Generated from protobuf field <code>.livekit.DataTrackSchemaEncoding.WellKnownSchemaEncoding well_known = 1;</code>

public getWellKnown() : int
Return values
int

setCustom()

Identifier of a custom encoding not covered by the well-known cases.

public setCustom(string $var) : $this

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

Generated from protobuf field string custom = 2;

Parameters
$var : string
Return values
$this

setWellKnown()

Generated from protobuf field <code>.livekit.DataTrackSchemaEncoding.WellKnownSchemaEncoding well_known = 1;</code>

public setWellKnown(int $var) : $this
Parameters
$var : int
Return values
$this
On this page

Search results