@@ -543,39 +543,6 @@ void* NotificationCopyAndroidNotificationParams(void* notification) {
543543 }
544544#endif // DOXYGEN
545545
546- #if DOXYGEN
547- // / @brief Subscribe to receive all messages to the specified topic.
548- // /
549- // / Subscribes an app instance to a topic, enabling it to receive messages sent to that topic.
550- // /
551- // / Call this function from the main thread. FCM is not thread safe.
552- // /
553- // / @param[in] topic The name of the topic to subscribe. Must match the following regular expression: `[a-zA-Z0-9-_.~%]{1,900}`.
554- [System.Obsolete (" FirebaseMessaging.Subscribe is deprecated. Please use FirebaseMessaging.SubscribeAsync() instead" )]
555- public static void Subscribe (string topic);
556- #else
557- [System.Obsolete (" FirebaseMessaging.Subscribe is deprecated. Please use FirebaseMessaging.SubscribeAsync() instead" )]
558- public static void Subscribe (string topic) {
559- SubscribeAsync (topic);
560- }
561- #endif
562-
563- #if DOXYGEN
564- // / @brief Unsubscribe from a topic.
565- // /
566- // / Unsubscribes an app instance from a topic, stopping it from receiving any further messages sent to that topic.
567- // /
568- // / Call this function from the main thread. FCM is not thread safe.
569- // /
570- // / @param[in] topic The name of the topic to unsubscribe from. Must match the following regular expression: `[a-zA-Z0-9-_.~%]{1,900}`.
571- [System.Obsolete (" FirebaseMessaging.Unsubscribe is deprecated. Please use FirebaseMessaging.UnsubscribeAsync() instead" )]
572- public static void Unsubscribe (string topic);
573- #else
574- [System.Obsolete (" FirebaseMessaging.Unsubscribe is deprecated. Please use FirebaseMessaging.UnsubscribeAsync() instead" )]
575- public static void Unsubscribe (string topic) {
576- UnsubscribeAsync (topic);
577- }
578- #endif
579546%}
580547
581548%typemap(cscode) firebase::messaging::Message %{
@@ -695,9 +662,6 @@ void* NotificationCopyAndroidNotificationParams(void* notification) {
695662%csmethodmodifiers firebase::messaging::DeleteToken()
696663 "internal"
697664
698- %csmethodmodifiers firebase::messaging::Send(const Message&)
699- "[System.Obsolete(\" FirebaseMessaging.Send is deprecated and will be removed in a future version.\" )]\n "
700-
701665// Messaging has a lot of read-only properties, so make all immutable
702666// and call out the mutable ones.
703667%immutable;
0 commit comments