google_api_fitness v0.5.1 GoogleApi.Fitness.V1.Model.Session View Source
Sessions contain metadata, such as a user-friendly name and time interval information.
Attributes
activeTimeMillis
(type:String.t
, default:nil
) - 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 valueactivityType
(type:integer()
, default:nil
) - The type of activity this session represents.application
(type:GoogleApi.Fitness.V1.Model.Application.t
, default:nil
) - The application that created the session.description
(type:String.t
, default:nil
) - A description for this session.endTimeMillis
(type:String.t
, default:nil
) - An end time, in milliseconds since epoch, inclusive.id
(type:String.t
, default:nil
) - A client-generated identifier that is unique across all sessions owned by this particular user.modifiedTimeMillis
(type:String.t
, default:nil
) - A timestamp that indicates when the session was last modified.name
(type:String.t
, default:nil
) - A human readable name of the session.startTimeMillis
(type:String.t
, default:nil
) - A start time, in milliseconds since epoch, inclusive.
Link to this section Summary
Functions
Unwrap a decoded JSON object into its complex fields.
Link to this section Types
Link to this type
t()
View Source
t()
View Source
t() :: %GoogleApi.Fitness.V1.Model.Session{
activeTimeMillis: String.t(),
activityType: integer(),
application: GoogleApi.Fitness.V1.Model.Application.t(),
description: String.t(),
endTimeMillis: String.t(),
id: String.t(),
modifiedTimeMillis: String.t(),
name: String.t(),
startTimeMillis: String.t()
}
t() :: %GoogleApi.Fitness.V1.Model.Session{ activeTimeMillis: String.t(), activityType: integer(), application: GoogleApi.Fitness.V1.Model.Application.t(), description: String.t(), endTimeMillis: String.t(), id: String.t(), modifiedTimeMillis: String.t(), name: String.t(), startTimeMillis: String.t() }
Link to this section Functions
Link to this function
decode(value, options) View Source
Unwrap a decoded JSON object into its complex fields.