aboutsummaryrefslogtreecommitdiffhomepage
path: root/Firebase/Messaging/FIRMessagingPubSub.h
diff options
context:
space:
mode:
Diffstat (limited to 'Firebase/Messaging/FIRMessagingPubSub.h')
-rw-r--r--Firebase/Messaging/FIRMessagingPubSub.h9
1 files changed, 9 insertions, 0 deletions
diff --git a/Firebase/Messaging/FIRMessagingPubSub.h b/Firebase/Messaging/FIRMessagingPubSub.h
index 1c615d1..ebb4ca8 100644
--- a/Firebase/Messaging/FIRMessagingPubSub.h
+++ b/Firebase/Messaging/FIRMessagingPubSub.h
@@ -139,6 +139,15 @@ NS_ASSUME_NONNULL_BEGIN
+ (NSString *)addPrefixToTopic:(NSString *)topic;
/**
+ * Removes the "/topics/" prefix from the topic.
+ *
+ * @param topic The topic to remove the prefix from.
+ *
+ * @return The new topic name with the "/topics/" prefix removed.
+ */
+
++ (NSString *)removePrefixFromTopic:(NSString *)topic;
+/**
* Check if the topic name has "/topics/" prefix.
*
* @param topic The topic name to verify.