Class Session
Sessions contain metadata, such as a user-friendly name and time interval information.
Implements
Inherited Members
Namespace: Google.Apis.Fitness.v1.Data
Assembly: Google.Apis.Fitness.v1.dll
Syntax
public class Session : IDirectResponseSchema
Properties
ActiveTimeMillis
Session active time. While start_time_millis and end_time_millis define the full session time, the active time can be shorter and specified by active_time_millis. If the inactive time during the session is known, it should also be inserted via a com.google.activity.segment data point with a STILL activity value
Declaration
[JsonProperty("activeTimeMillis")]
public virtual long? ActiveTimeMillis { get; set; }
Property Value
Type | Description |
---|---|
long? |
ActivityType
The type of activity this session represents.
Declaration
[JsonProperty("activityType")]
public virtual int? ActivityType { get; set; }
Property Value
Type | Description |
---|---|
int? |
Application
The application that created the session.
Declaration
[JsonProperty("application")]
public virtual Application Application { get; set; }
Property Value
Type | Description |
---|---|
Application |
Description
A description for this session.
Declaration
[JsonProperty("description")]
public virtual string Description { get; set; }
Property Value
Type | Description |
---|---|
string |
ETag
The ETag of the item.
Declaration
public virtual string ETag { get; set; }
Property Value
Type | Description |
---|---|
string |
EndTimeMillis
An end time, in milliseconds since epoch, inclusive.
Declaration
[JsonProperty("endTimeMillis")]
public virtual long? EndTimeMillis { get; set; }
Property Value
Type | Description |
---|---|
long? |
Id
A client-generated identifier that is unique across all sessions owned by this particular user.
Declaration
[JsonProperty("id")]
public virtual string Id { get; set; }
Property Value
Type | Description |
---|---|
string |
ModifiedTimeMillis
A timestamp that indicates when the session was last modified.
Declaration
[JsonProperty("modifiedTimeMillis")]
public virtual long? ModifiedTimeMillis { get; set; }
Property Value
Type | Description |
---|---|
long? |
Name
A human readable name of the session.
Declaration
[JsonProperty("name")]
public virtual string Name { get; set; }
Property Value
Type | Description |
---|---|
string |
StartTimeMillis
A start time, in milliseconds since epoch, inclusive.
Declaration
[JsonProperty("startTimeMillis")]
public virtual long? StartTimeMillis { get; set; }
Property Value
Type | Description |
---|---|
long? |