1.1.0 (latest) 1.0.0

    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](https://learn.microsoft.com/dotnet/api/system.object) \> DeviceSession.Types.SessionStateEvent

## Implements

[IMessage](https://docs.cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IMessage-1.md.txt)[DeviceSession](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.DeviceStreaming.V1/latest/Google.Cloud.DeviceStreaming.V1.DeviceSession.md.txt)[Types](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.DeviceStreaming.V1/latest/Google.Cloud.DeviceStreaming.V1.DeviceSession.Types.md.txt)[SessionStateEvent](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.DeviceStreaming.V1/latest/Google.Cloud.DeviceStreaming.V1.DeviceSession.Types.SessionStateEvent.md.txt), [IEquatable](https://learn.microsoft.com/dotnet/api/system.iequatable-1)[DeviceSession](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.DeviceStreaming.V1/latest/Google.Cloud.DeviceStreaming.V1.DeviceSession.md.txt)[Types](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.DeviceStreaming.V1/latest/Google.Cloud.DeviceStreaming.V1.DeviceSession.Types.md.txt)[SessionStateEvent](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.DeviceStreaming.V1/latest/Google.Cloud.DeviceStreaming.V1.DeviceSession.Types.SessionStateEvent.md.txt), [IDeepCloneable](https://docs.cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IDeepCloneable-1.md.txt)[DeviceSession](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.DeviceStreaming.V1/latest/Google.Cloud.DeviceStreaming.V1.DeviceSession.md.txt)[Types](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.DeviceStreaming.V1/latest/Google.Cloud.DeviceStreaming.V1.DeviceSession.Types.md.txt)[SessionStateEvent](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.DeviceStreaming.V1/latest/Google.Cloud.DeviceStreaming.V1.DeviceSession.Types.SessionStateEvent.md.txt), [IBufferMessage](https://docs.cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IBufferMessage.md.txt), [IMessage](https://docs.cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IMessage.md.txt)

## Inherited Members

[object.GetHashCode()](https://learn.microsoft.com/dotnet/api/system.object.gethashcode) [object.GetType()](https://learn.microsoft.com/dotnet/api/system.object.gettype) [object.ToString()](https://learn.microsoft.com/dotnet/api/system.object.tostring)

## Namespace

[Google.Cloud.DeviceStreaming.V1](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.DeviceStreaming.V1/latest/Google.Cloud.DeviceStreaming.V1.md.txt)

## 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` |   |