plugNmeet JS SDK - v2.0.3
    Preparing search index...

    Type Alias AnalyticsDataMsg

    AnalyticsDataMsg: Message<"plugnmeet.AnalyticsDataMsg"> & {
        eventType: AnalyticsEventType;
        eventName: AnalyticsEvents;
        roomId: string;
        time: string;
        eventValueString?: string;
        eventValueInteger?: string;
        hsetValue?: string;
        roomSid?: string;
        userId?: string;
        userName?: string;
        extraData?: string;
    }

    Type Declaration

    • eventType: AnalyticsEventType

      from field: plugnmeet.AnalyticsEventType event_type = 1;

    • eventName: AnalyticsEvents

      from field: plugnmeet.AnalyticsEvents event_name = 2;

    • roomId: string

      from field: string room_id = 3;

    • time: string

      should be unix milliseconds

      from field: int64 time = 4 [jstype = JS_STRING];

    • OptionaleventValueString?: string

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

      from field: optional string event_value_string = 5;

    • OptionaleventValueInteger?: string

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

      from field: optional int64 event_value_integer = 6 [jstype = JS_STRING];

    • OptionalhsetValue?: 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

      from field: optional string hset_value = 7;

    • OptionalroomSid?: string

      from field: optional string room_sid = 8;

    • OptionaluserId?: string

      from field: optional string user_id = 9;

    • OptionaluserName?: string

      from field: optional string user_name = 10;

    • OptionalextraData?: string

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

      from field: optional string extra_data = 11;

    from message plugnmeet.AnalyticsDataMsg