DataBlobKey
extends Message
in package
Key used to uniquely identify a data blob for storage and retrieval.
Generated from protobuf message livekit.DataBlobKey
Table of Contents
Properties
- $key : mixed
Methods
- __construct() : mixed
- Constructor.
- getGeneric() : string
- Generic string key, blob contains arbitrary data.
- getKey() : string
- getSchemaId() : DataTrackSchemaId|null
- Data track schema identifier, blob contains schema definition.
- hasGeneric() : mixed
- hasSchemaId() : mixed
- setGeneric() : $this
- Generic string key, blob contains arbitrary data.
- setSchemaId() : $this
- Data track schema identifier, blob contains schema definition.
Properties
$key
protected
mixed
$key
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 $generic Generic string key, blob contains arbitrary data. @type \Livekit\DataTrackSchemaId $schema_id Data track schema identifier, blob contains schema definition.}
getGeneric()
Generic string key, blob contains arbitrary data.
public
getGeneric() : string
Generated from protobuf field string generic = 1;
Return values
stringgetKey()
public
getKey() : string
Return values
stringgetSchemaId()
Data track schema identifier, blob contains schema definition.
public
getSchemaId() : DataTrackSchemaId|null
Generated from protobuf field .livekit.DataTrackSchemaId schema_id = 2 [(.logger.name) = "schemaID"];
Return values
DataTrackSchemaId|nullhasGeneric()
public
hasGeneric() : mixed
hasSchemaId()
public
hasSchemaId() : mixed
setGeneric()
Generic string key, blob contains arbitrary data.
public
setGeneric(string $var) : $this
Generated from protobuf field string generic = 1;
Parameters
- $var : string
Return values
$thissetSchemaId()
Data track schema identifier, blob contains schema definition.
public
setSchemaId(DataTrackSchemaId $var) : $this
Generated from protobuf field .livekit.DataTrackSchemaId schema_id = 2 [(.logger.name) = "schemaID"];
Parameters
- $var : DataTrackSchemaId