NativeBridgeTrackState
extends Message
in package
Native -> web: track published/unpublished notification.
Generated from protobuf message plugnmeet.NativeBridgeTrackState
Table of Contents
Properties
- $kind : mixed
- Generated from protobuf field <code>.plugnmeet.NativeTrackKind kind = 2;</code>
- $source : mixed
- Generated from protobuf field <code>.plugnmeet.NativeMediaSource source = 3;</code>
- $user_id : mixed
- Generated from protobuf field <code>string user_id = 1;</code>
Methods
- __construct() : mixed
- Constructor.
- getKind() : int
- Generated from protobuf field <code>.plugnmeet.NativeTrackKind kind = 2;</code>
- getSource() : int
- Generated from protobuf field <code>.plugnmeet.NativeMediaSource source = 3;</code>
- getUserId() : string
- Generated from protobuf field <code>string user_id = 1;</code>
- setKind() : $this
- Generated from protobuf field <code>.plugnmeet.NativeTrackKind kind = 2;</code>
- setSource() : $this
- Generated from protobuf field <code>.plugnmeet.NativeMediaSource source = 3;</code>
- setUserId() : $this
- Generated from protobuf field <code>string user_id = 1;</code>
Properties
$kind
Generated from protobuf field <code>.plugnmeet.NativeTrackKind kind = 2;</code>
protected
mixed
$kind
= 0
$source
Generated from protobuf field <code>.plugnmeet.NativeMediaSource source = 3;</code>
protected
mixed
$source
= 0
$user_id
Generated from protobuf field <code>string user_id = 1;</code>
protected
mixed
$user_id
= ''
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 $user_id @type int $kind @type int $source}
getKind()
Generated from protobuf field <code>.plugnmeet.NativeTrackKind kind = 2;</code>
public
getKind() : int
Return values
int —one of the values in NativeTrackKind
getSource()
Generated from protobuf field <code>.plugnmeet.NativeMediaSource source = 3;</code>
public
getSource() : int
Return values
int —one of the values in NativeMediaSource
getUserId()
Generated from protobuf field <code>string user_id = 1;</code>
public
getUserId() : string
Return values
stringsetKind()
Generated from protobuf field <code>.plugnmeet.NativeTrackKind kind = 2;</code>
public
setKind(int $var) : $this
Parameters
- $var : int
-
one of the values in NativeTrackKind
Return values
$thissetSource()
Generated from protobuf field <code>.plugnmeet.NativeMediaSource source = 3;</code>
public
setSource(int $var) : $this
Parameters
- $var : int
-
one of the values in NativeMediaSource
Return values
$thissetUserId()
Generated from protobuf field <code>string user_id = 1;</code>
public
setUserId(string $var) : $this
Parameters
- $var : string