google_api_fcm v0.4.0 GoogleApi.FCM.V1.Model.LightSettings View Source

Settings to control notification LED.

Attributes

  • color (type: GoogleApi.FCM.V1.Model.Color.t, default: nil) - Required. Set color of the LED with google.type.Color.
  • lightOffDuration (type: String.t, default: nil) - Required. Along with light_on_duration, define the blink rate of LED flashes. Resolution defined by proto.Duration
  • lightOnDuration (type: String.t, default: nil) - Required. Along with light_off_duration, define the blink rate of LED flashes. Resolution defined by proto.Duration

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() :: %GoogleApi.FCM.V1.Model.LightSettings{
  color: GoogleApi.FCM.V1.Model.Color.t(),
  lightOffDuration: String.t(),
  lightOnDuration: String.t()
}

Link to this section Functions

Link to this function

decode(value, options)

View Source
decode(struct(), keyword()) :: struct()

Unwrap a decoded JSON object into its complex fields.