GoogleApi.FCM.V1.Model.LightSettings (google_api_fcm v0.8.2) 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

Specs

t() :: %GoogleApi.FCM.V1.Model.LightSettings{
  color: GoogleApi.FCM.V1.Model.Color.t() | nil,
  lightOffDuration: String.t() | nil,
  lightOnDuration: String.t() | nil
}

Link to this section Functions

Specs

decode(struct(), keyword()) :: struct()

Unwrap a decoded JSON object into its complex fields.