orb.device.connect

Element details

type: meya.orb.event.device.connect
class: ConnectEvent
path: /meya/orb/event/device/connect.py
signature: -

Fields

fielddescription               requiredsignaturedefaulttype
parent_entry_refnullEntryRef
trace_id"-"str
sensitivefalsebool
internalfalsebool
user_idstr
thread_idstr
integration_idstr
context{}
dict
device_idstr
keystr
valuetyping.Any
device_tokenstr
stateDeviceState
platformPlatform

Usage reference

Data

{
    "type": "meya.orb.event.device.connect", 
    "data": {
        "parent_entry_ref": {
            "ledger": "STRING", 
            "id": "STRING", 
            "data": {
                "STRING": "STRING"
            }
        }, 
        "trace_id": "STRING", 
        "sensitive": false, 
        "internal": false, 
        "user_id": "STRING", 
        "thread_id": "STRING", 
        "integration_id": "STRING", 
        "context": {
            "STRING": "ANY"
        }, 
        "device_id": "STRING", 
        "key": "STRING", 
        "value": "ANY", 
        "device_token": "STRING", 
        "state": "resumed|inactive|paused|detached", 
        "platform": "android|ios|web"
    }
}