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
$value
protected
mixed
$value
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
stringgetValue()
public
getValue() : string
Return values
stringgetWellKnown()
Generated from protobuf field <code>.livekit.DataTrackSchemaEncoding.WellKnownSchemaEncoding well_known = 1;</code>
public
getWellKnown() : int
Return values
inthasCustom()
public
hasCustom() : mixed
hasWellKnown()
public
hasWellKnown() : mixed
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
$thissetWellKnown()
Generated from protobuf field <code>.livekit.DataTrackSchemaEncoding.WellKnownSchemaEncoding well_known = 1;</code>
public
setWellKnown(int $var) : $this
Parameters
- $var : int