|
LMMS
|
#include <juce_PushNotifications.h>
Public Types | |
| enum | Importance { none , min , low , normal , high , max } |
Public Attributes | |
| String | identifier |
| String | name |
| Importance | importance = normal |
| Notification::LockScreenAppearance | lockScreenAppearance = Notification::showPartially |
| String | description |
| String | groupId |
| Colour | ledColour |
| bool | bypassDoNotDisturb = false |
| bool | canShowBadge = false |
| bool | enableLights = false |
| bool | enableVibration = false |
| URL | soundToPlay |
| Array< int > | vibrationPattern |
Android API level 26 or higher only: Represents notification channel through which notifications will be sent. Starting from Android API level 26, you should call setupChannels() at the start of your application, before posting any notifications. Then, when sending notifications, assign a channel to each created notification.
| enum juce::PushNotifications::Channel::Importance |
| bool juce::PushNotifications::Channel::bypassDoNotDisturb = false |
Optional: true if notifications in this channel can bypass do not disturb setting.
| bool juce::PushNotifications::Channel::canShowBadge = false |
Optional: true if notifications in this channel can show badges in a Launcher application.
| String juce::PushNotifications::Channel::description |
Optional: user visible description of the channel.
| bool juce::PushNotifications::Channel::enableLights = false |
Optional: true if notifications in this channel should show lights (subject to hardware support).
| bool juce::PushNotifications::Channel::enableVibration = false |
Optional: true if notifications in this channel should trigger vibrations.
| String juce::PushNotifications::Channel::groupId |
Required: group this channel belongs to (see ChannelGroup).
| String juce::PushNotifications::Channel::identifier |
Required: Unique channel identifier.
| Importance juce::PushNotifications::Channel::importance = normal |
Required.
| Colour juce::PushNotifications::Channel::ledColour |
Optional: sets the led colour for notifications in this channel.
| Notification::LockScreenAppearance juce::PushNotifications::Channel::lockScreenAppearance = Notification::showPartially |
| String juce::PushNotifications::Channel::name |
Required: User facing name of the channel.
| URL juce::PushNotifications::Channel::soundToPlay |
Optional: sound to play in this channel. See Notification::soundToPlay for more info.
Optional: vibration pattern for this channel. See Notification::vibrationPattern for more info.