View Source GoogleApi.FCM.V1.Model.LightSettings (google_api_fcm v0.11.0)

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

Summary

Functions

Unwrap a decoded JSON object into its complex fields.

Types

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

Functions

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

Unwrap a decoded JSON object into its complex fields.