View Source GoogleApi.AndroidManagement.V1.Model.LostModeLocationEvent (google_api_android_management v0.57.0)

A lost mode event containing the device location and battery level as a percentage.

Attributes

  • batteryLevel (type: integer(), default: nil) - The battery level as a number between 0 and 100 inclusive
  • location (type: GoogleApi.AndroidManagement.V1.Model.Location.t, default: nil) - The device location

Summary

Functions

Unwrap a decoded JSON object into its complex fields.

Types

t()

@type t() :: %GoogleApi.AndroidManagement.V1.Model.LostModeLocationEvent{
  batteryLevel: integer() | nil,
  location: GoogleApi.AndroidManagement.V1.Model.Location.t() | nil
}

Functions

decode(value, options)

@spec decode(struct(), keyword()) :: struct()

Unwrap a decoded JSON object into its complex fields.