Path: redb-route/redb.Route.Firebase/Fcm/FcmMessageType.cs
Snapshot: redb-route, development snapshot 2026-12-06. This is the development state of the public mirrors; it may differ from the published packages.
License: Apache-2.0. Repository: https://github.com/redbase-app/redb-route
Page: https://redbase.app/src/dev-2026-12-06/redb-route/redb.Route.Firebase/Fcm/FcmMessageType.cs
----
namespace redb.Route.Firebase;
///
/// FCM message target type. Determines how the push notification is addressed.
///
public enum FcmMessageType
{
/// Send to a specific device registration token.
Token,
/// Send to all subscribers of a topic.
Topic,
/// Send to devices matching a topic condition expression.
Condition
}
///
/// FCM producer operation. is the classic single-message send;
/// the rest are later additions (multicast and topic management).
///
public enum FcmOperationType
{
/// Send one message to a token/topic/condition (default).
Send,
/// Send the same message to many device tokens (body or Tokens header).
Multicast,
/// Subscribe device tokens (body or Tokens header) to the topic.
SubscribeToTopic,
/// Unsubscribe device tokens (body or Tokens header) from the topic.
UnsubscribeFromTopic
}