Class ActivityStart
Marks the start of user activity. This can only be sent if automatic (i.e. server-side) activity detection is disabled.
public record ActivityStart : IEquatable<ActivityStart>
- Inheritance
-
ActivityStart
- Implements
- Inherited Members
Methods
FromJson(string, JsonSerializerOptions?)
Deserializes a JSON string to a ActivityStart object.
public static ActivityStart? FromJson(string jsonString, JsonSerializerOptions? options = null)
Parameters
jsonStringstringThe JSON string to deserialize.
optionsJsonSerializerOptionsOptional JsonSerializerOptions.
Returns
- ActivityStart
The deserialized ActivityStart object, or null if deserialization fails.