public sealed class DeviceSession.Types.SessionStateEvent : IMessage<DeviceSession.Types.SessionStateEvent>, IEquatable<DeviceSession.Types.SessionStateEvent>, IDeepCloneable<DeviceSession.Types.SessionStateEvent>, IBufferMessage, IMessage
Reference documentation and code samples for the Device Streaming v1 API class DeviceSession.Types.SessionStateEvent.
A message encapsulating a series of Session states and the time that the DeviceSession first entered those states.
Implements
IMessageDeviceSessionTypesSessionStateEvent, IEquatableDeviceSessionTypesSessionStateEvent, IDeepCloneableDeviceSessionTypesSessionStateEvent, IBufferMessage, IMessageNamespace
Google.Cloud.DeviceStreaming.V1Assembly
Google.Cloud.DeviceStreaming.V1.dll
Constructors
SessionStateEvent()
public SessionStateEvent()
SessionStateEvent(SessionStateEvent)
public SessionStateEvent(DeviceSession.Types.SessionStateEvent other)
Parameter | |
---|---|
Name | Description |
other |
DeviceSessionTypesSessionStateEvent |
Properties
EventTime
public Timestamp EventTime { get; set; }
Output only. The time that the session_state first encountered that state.
Property Value | |
---|---|
Type | Description |
Timestamp |
SessionState
public DeviceSession.Types.SessionState SessionState { get; set; }
Output only. The session_state tracked by this event
Property Value | |
---|---|
Type | Description |
DeviceSessionTypesSessionState |
StateMessage
public string StateMessage { get; set; }
Output only. A human-readable message to explain the state.
Property Value | |
---|---|
Type | Description |
string |