Documentation

AnalyticsDataMsg extends Message
in package

Generated from protobuf message <code>plugnmeet.AnalyticsDataMsg</code>

Table of Contents

Properties

$event_name  : mixed
Generated from protobuf field <code>.plugnmeet.AnalyticsEvents event_name = 2;</code>
$event_type  : mixed
Generated from protobuf field <code>.plugnmeet.AnalyticsEventType event_type = 1;</code>
$event_value_integer  : mixed
if we pass value here then it will use redis INCRBY to increment value for the key
$event_value_string  : mixed
if we pass value here then it will use redis SET to set the value for the key
$extra_data  : mixed
this extra_data can be use for various purposes like, room or user metadata
$hset_value  : mixed
if we pass value here then it will use redis HSET to set hash field value for the key hash field will be unix milliseconds, so it will remain unique as always
$room_id  : mixed
Generated from protobuf field <code>string room_id = 3;</code>
$room_sid  : mixed
Generated from protobuf field <code>optional string room_sid = 8;</code>
$time  : mixed
should be unix milliseconds
$user_id  : mixed
Generated from protobuf field <code>optional string user_id = 9;</code>
$user_name  : mixed
Generated from protobuf field <code>optional string user_name = 10;</code>

Methods

__construct()  : mixed
Constructor.
clearEventValueInteger()  : mixed
clearEventValueString()  : mixed
clearExtraData()  : mixed
clearHsetValue()  : mixed
clearRoomSid()  : mixed
clearUserId()  : mixed
clearUserName()  : mixed
getEventName()  : int
Generated from protobuf field <code>.plugnmeet.AnalyticsEvents event_name = 2;</code>
getEventType()  : int
Generated from protobuf field <code>.plugnmeet.AnalyticsEventType event_type = 1;</code>
getEventValueInteger()  : int|string
if we pass value here then it will use redis INCRBY to increment value for the key
getEventValueString()  : string
if we pass value here then it will use redis SET to set the value for the key
getExtraData()  : string
this extra_data can be use for various purposes like, room or user metadata
getHsetValue()  : string
if we pass value here then it will use redis HSET to set hash field value for the key hash field will be unix milliseconds, so it will remain unique as always
getRoomId()  : string
Generated from protobuf field <code>string room_id = 3;</code>
getRoomSid()  : string
Generated from protobuf field <code>optional string room_sid = 8;</code>
getTime()  : int|string
should be unix milliseconds
getUserId()  : string
Generated from protobuf field <code>optional string user_id = 9;</code>
getUserName()  : string
Generated from protobuf field <code>optional string user_name = 10;</code>
hasEventValueInteger()  : mixed
hasEventValueString()  : mixed
hasExtraData()  : mixed
hasHsetValue()  : mixed
hasRoomSid()  : mixed
hasUserId()  : mixed
hasUserName()  : mixed
setEventName()  : $this
Generated from protobuf field <code>.plugnmeet.AnalyticsEvents event_name = 2;</code>
setEventType()  : $this
Generated from protobuf field <code>.plugnmeet.AnalyticsEventType event_type = 1;</code>
setEventValueInteger()  : $this
if we pass value here then it will use redis INCRBY to increment value for the key
setEventValueString()  : $this
if we pass value here then it will use redis SET to set the value for the key
setExtraData()  : $this
this extra_data can be use for various purposes like, room or user metadata
setHsetValue()  : $this
if we pass value here then it will use redis HSET to set hash field value for the key hash field will be unix milliseconds, so it will remain unique as always
setRoomId()  : $this
Generated from protobuf field <code>string room_id = 3;</code>
setRoomSid()  : $this
Generated from protobuf field <code>optional string room_sid = 8;</code>
setTime()  : $this
should be unix milliseconds
setUserId()  : $this
Generated from protobuf field <code>optional string user_id = 9;</code>
setUserName()  : $this
Generated from protobuf field <code>optional string user_name = 10;</code>

Properties

$event_name

Generated from protobuf field <code>.plugnmeet.AnalyticsEvents event_name = 2;</code>

protected mixed $event_name = 0

$event_type

Generated from protobuf field <code>.plugnmeet.AnalyticsEventType event_type = 1;</code>

protected mixed $event_type = 0

$event_value_integer

if we pass value here then it will use redis INCRBY to increment value for the key

protected mixed $event_value_integer = null

Generated from protobuf field optional int64 event_value_integer = 6;

$event_value_string

if we pass value here then it will use redis SET to set the value for the key

protected mixed $event_value_string = null

Generated from protobuf field optional string event_value_string = 5;

$extra_data

this extra_data can be use for various purposes like, room or user metadata

protected mixed $extra_data = null

Generated from protobuf field optional string extra_data = 11;

$hset_value

if we pass value here then it will use redis HSET to set hash field value for the key hash field will be unix milliseconds, so it will remain unique as always

protected mixed $hset_value = null

Generated from protobuf field optional string hset_value = 7;

$room_id

Generated from protobuf field <code>string room_id = 3;</code>

protected mixed $room_id = ''

$room_sid

Generated from protobuf field <code>optional string room_sid = 8;</code>

protected mixed $room_sid = null

$time

should be unix milliseconds

protected mixed $time = 0

Generated from protobuf field int64 time = 4;

$user_id

Generated from protobuf field <code>optional string user_id = 9;</code>

protected mixed $user_id = null

$user_name

Generated from protobuf field <code>optional string user_name = 10;</code>

protected mixed $user_name = null

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 $event_type
@type int $event_name
@type string $room_id
@type int|string $time
      should be unix milliseconds
@type string $event_value_string
      if we pass value here then it will use redis SET to set the value for the key
@type int|string $event_value_integer
      if we pass value here then it will use redis INCRBY to increment value for the key
@type string $hset_value
      if we pass value here then it will use redis HSET to set hash field value for the key
      hash field will be unix milliseconds, so it will remain unique as always
@type string $room_sid
@type string $user_id
@type string $user_name
@type string $extra_data
      this extra_data can be use for various purposes like, room or user metadata

}

getEventName()

Generated from protobuf field <code>.plugnmeet.AnalyticsEvents event_name = 2;</code>

public getEventName() : int
Return values
int

getEventType()

Generated from protobuf field <code>.plugnmeet.AnalyticsEventType event_type = 1;</code>

public getEventType() : int
Return values
int

getEventValueInteger()

if we pass value here then it will use redis INCRBY to increment value for the key

public getEventValueInteger() : int|string

Generated from protobuf field optional int64 event_value_integer = 6;

Return values
int|string

getEventValueString()

if we pass value here then it will use redis SET to set the value for the key

public getEventValueString() : string

Generated from protobuf field optional string event_value_string = 5;

Return values
string

getExtraData()

this extra_data can be use for various purposes like, room or user metadata

public getExtraData() : string

Generated from protobuf field optional string extra_data = 11;

Return values
string

getHsetValue()

if we pass value here then it will use redis HSET to set hash field value for the key hash field will be unix milliseconds, so it will remain unique as always

public getHsetValue() : string

Generated from protobuf field optional string hset_value = 7;

Return values
string

getRoomId()

Generated from protobuf field <code>string room_id = 3;</code>

public getRoomId() : string
Return values
string

getRoomSid()

Generated from protobuf field <code>optional string room_sid = 8;</code>

public getRoomSid() : string
Return values
string

getTime()

should be unix milliseconds

public getTime() : int|string

Generated from protobuf field int64 time = 4;

Return values
int|string

getUserId()

Generated from protobuf field <code>optional string user_id = 9;</code>

public getUserId() : string
Return values
string

getUserName()

Generated from protobuf field <code>optional string user_name = 10;</code>

public getUserName() : string
Return values
string

setEventName()

Generated from protobuf field <code>.plugnmeet.AnalyticsEvents event_name = 2;</code>

public setEventName(int $var) : $this
Parameters
$var : int
Return values
$this

setEventType()

Generated from protobuf field <code>.plugnmeet.AnalyticsEventType event_type = 1;</code>

public setEventType(int $var) : $this
Parameters
$var : int
Return values
$this

setEventValueInteger()

if we pass value here then it will use redis INCRBY to increment value for the key

public setEventValueInteger(int|string $var) : $this

Generated from protobuf field optional int64 event_value_integer = 6;

Parameters
$var : int|string
Return values
$this

setEventValueString()

if we pass value here then it will use redis SET to set the value for the key

public setEventValueString(string $var) : $this

Generated from protobuf field optional string event_value_string = 5;

Parameters
$var : string
Return values
$this

setExtraData()

this extra_data can be use for various purposes like, room or user metadata

public setExtraData(string $var) : $this

Generated from protobuf field optional string extra_data = 11;

Parameters
$var : string
Return values
$this

setHsetValue()

if we pass value here then it will use redis HSET to set hash field value for the key hash field will be unix milliseconds, so it will remain unique as always

public setHsetValue(string $var) : $this

Generated from protobuf field optional string hset_value = 7;

Parameters
$var : string
Return values
$this

setRoomId()

Generated from protobuf field <code>string room_id = 3;</code>

public setRoomId(string $var) : $this
Parameters
$var : string
Return values
$this

setRoomSid()

Generated from protobuf field <code>optional string room_sid = 8;</code>

public setRoomSid(string $var) : $this
Parameters
$var : string
Return values
$this

setTime()

should be unix milliseconds

public setTime(int|string $var) : $this

Generated from protobuf field int64 time = 4;

Parameters
$var : int|string
Return values
$this

setUserId()

Generated from protobuf field <code>optional string user_id = 9;</code>

public setUserId(string $var) : $this
Parameters
$var : string
Return values
$this

setUserName()

Generated from protobuf field <code>optional string user_name = 10;</code>

public setUserName(string $var) : $this
Parameters
$var : string
Return values
$this

        
On this page

Search results