Skip to content

Commit

Permalink
doc(android): enable & set notification light with lightColor (#54)
Browse files Browse the repository at this point in the history
  • Loading branch information
erisu authored Oct 25, 2020
1 parent 08b452c commit 35597dc
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions docs/API.md
Original file line number Diff line number Diff line change
Expand Up @@ -277,6 +277,7 @@ A default channel with the id "PushPluginChannel" is created automatically. To m
| `sound` | `String` | The name of the sound file to be played upon receipt of the notification in this channel. Empty string to disable sound. Cannot be changed after channel is created. |
| `vibration` | `Boolean` or `Array` | Boolean sets whether notification posted to this channel should vibrate. Array sets custom vibration pattern. Example - vibration: `[2000, 1000, 500, 500]`. Cannot be changed after channel is created. |
| `visibility` | `Int` | Sets whether notifications posted to this channel appear on the lockscreen or not, and if so, whether they appear in a redacted form. 0 = Private, 1 = Public, -1 = Secret. |
| `lightColor` | `Int` | Sets and enables the color of the notification light. The default value, `-1`, disables the notification light. (**Android Only**) |

## PushNotification.deleteChannel(successHandler, failureHandler, channelId)

Expand Down

0 comments on commit 35597dc

Please sign in to comment.