public static class FCM.FCMLights.Builder extends Object
FCM.FCMLights| Modifier and Type | Class and Description |
|---|---|
static class |
FCM.FCMLights.Builder.FCMLED
Determines the LED value in the notifications.
|
| Constructor and Description |
|---|
Builder() |
| Modifier and Type | Method and Description |
|---|---|
FCM.FCMLights |
build() |
FCM.FCMLights.Builder |
ledArgb(FCM.FCMLights.Builder.FCMLED ledArgb) |
FCM.FCMLights.Builder |
ledOffMs(Integer ledOffMs) |
FCM.FCMLights.Builder |
ledOnMs(Integer ledOnMs) |
public FCM.FCMLights.Builder ledArgb(FCM.FCMLights.Builder.FCMLED ledArgb)
ledArgb - The color of the LED. The hardware will do its best
approximation.public FCM.FCMLights.Builder ledOnMs(Integer ledOnMs)
ledOnMs - The number of milliseconds for the LED to be on while
it's flashing. The hardware will do its best
approximation.public FCM.FCMLights.Builder ledOffMs(Integer ledOffMs)
ledOffMs - The number of milliseconds for the LED to be off while
it's flashing. The hardware will do its best
approximation.public FCM.FCMLights build()
FCM.FCMLights object.Copyright © 2020. All rights reserved.