Member values
Member name | Data type | Description | Usage |
---|---|---|---|
safety_handle | SafetyHandle | Safety handle | To set safety_handle, you simply assign a value directly to a field within safety_handle. You can also use the parent message’s HasField() method to check if a message type field value has been set. |
value | int | New safety status | You can manipulate the field value as if it were a regular field. To clear the value of value and reset it to the default value for its type, you call the ClearField() method of the Message interface. |
timestamp | Timestamp | Event timestamp | To set timestamp, you simply assign a value directly to a field within timestamp. You can also use the parent message’s HasField() method to check if a message type field value has been set. |
user_handle | UserProfileHandle | User that caused the safety event | To set user_handle, you simply assign a value directly to a field within user_handle. You can also use the parent message’s HasField() method to check if a message type field value has been set. |
connection | Connection | Connection that caused the safety event | To set connection, you simply assign a value directly to a field within connection. You can also use the parent message’s HasField() method to check if a message type field value has been set. |
Parent topic: Common (Python)