Device Streaming v1 API - Class DeviceSession.Types.SessionStateEvent (1.0.0-beta01)

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.

Inheritance

object > DeviceSession.Types.SessionStateEvent

Namespace

Google.Cloud.DeviceStreaming.V1

Assembly

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