-
-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
6 changed files
with
105 additions
and
6 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
61 changes: 61 additions & 0 deletions
61
packages/masamune_notification_firebase/lib/src/push_notification_logger_event.dart
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,61 @@ | ||
part of masamune_notification_firebase; | ||
|
||
/// Push notification event for logging. | ||
/// | ||
/// ロギング用のPUSH通知イベント。 | ||
enum PushNotificationLoggerEvent { | ||
/// When a topic is subscribed to. | ||
/// | ||
/// トピックが購読されたとき。 | ||
subscribe, | ||
|
||
/// When a topic is unsubscribed. | ||
/// | ||
/// トピックが購読解除されたとき。 | ||
unsubscribe, | ||
|
||
/// When a notification is sent. | ||
/// | ||
/// 通知が送信されたとき。 | ||
send, | ||
|
||
/// When a notification is received. | ||
/// | ||
/// 監視を開始したとき。 | ||
listen, | ||
|
||
/// When a notification is received. | ||
/// | ||
/// 通知を受信したとき。 | ||
receive, | ||
|
||
/// When a token is received. | ||
/// | ||
/// トークンを受信したとき。 | ||
token; | ||
|
||
/// Topic name key. | ||
/// | ||
/// トピック名のキー。 | ||
static const topicNameKey = "topic"; | ||
|
||
/// Key to the title of the notification. | ||
/// | ||
/// 通知のタイトルのキー。 | ||
static const titleKey = "title"; | ||
|
||
/// Key to the text of the notice. | ||
/// | ||
/// 通知の文章のキー。 | ||
static const bodyKey = "body"; | ||
|
||
/// Notification Destination Key | ||
/// | ||
/// 通知の宛先のキー | ||
static const toKey = "to"; | ||
|
||
/// Key of the token. | ||
/// | ||
/// トークンのキー。 | ||
static const tokenKey = "token"; | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters