You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

58 lines
2.4 KiB

6 years ago
  1. /*
  2. * Copyright 2017 Google
  3. *
  4. * Licensed under the Apache License, Version 2.0 (the "License");
  5. * you may not use this file except in compliance with the License.
  6. * You may obtain a copy of the License at
  7. *
  8. * http://www.apache.org/licenses/LICENSE-2.0
  9. *
  10. * Unless required by applicable law or agreed to in writing, software
  11. * distributed under the License is distributed on an "AS IS" BASIS,
  12. * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
  13. * See the License for the specific language governing permissions and
  14. * limitations under the License.
  15. */
  16. /**
  17. * Global constants to be put here.
  18. *
  19. */
  20. #import <Foundation/Foundation.h>
  21. #ifndef _FIRMessaging_CONSTANTS_H
  22. #define _FIRMessaging_CONSTANTS_H
  23. FOUNDATION_EXPORT NSString *const kFIRMessagingRawDataKey;
  24. FOUNDATION_EXPORT NSString *const kFIRMessagingCollapseKey;
  25. FOUNDATION_EXPORT NSString *const kFIRMessagingFromKey;
  26. FOUNDATION_EXPORT NSString *const kFIRMessagingSendTo;
  27. FOUNDATION_EXPORT NSString *const kFIRMessagingSendTTL;
  28. FOUNDATION_EXPORT NSString *const kFIRMessagingSendDelay;
  29. FOUNDATION_EXPORT NSString *const kFIRMessagingSendMessageID;
  30. FOUNDATION_EXPORT NSString *const KFIRMessagingSendMessageAppData;
  31. FOUNDATION_EXPORT NSString *const kFIRMessagingMessageInternalReservedKeyword;
  32. FOUNDATION_EXPORT NSString *const kFIRMessagingMessagePersistentIDKey;
  33. FOUNDATION_EXPORT NSString *const kFIRMessagingMessageIDKey;
  34. FOUNDATION_EXPORT NSString *const kFIRMessagingMessageAPNSContentAvailableKey;
  35. FOUNDATION_EXPORT NSString *const kFIRMessagingMessageSyncViaMCSKey;
  36. FOUNDATION_EXPORT NSString *const kFIRMessagingMessageSyncMessageTTLKey;
  37. FOUNDATION_EXPORT NSString *const kFIRMessagingMessageLinkKey;
  38. FOUNDATION_EXPORT NSString *const kFIRMessagingRemoteNotificationsProxyEnabledInfoPlistKey;
  39. FOUNDATION_EXPORT NSString *const kFIRMessagingApplicationSupportSubDirectory;
  40. // Notifications
  41. FOUNDATION_EXPORT NSString *const kFIRMessagingCheckinFetchedNotification;
  42. FOUNDATION_EXPORT NSString *const kFIRMessagingAPNSTokenNotification;
  43. FOUNDATION_EXPORT NSString *const kFIRMessagingFCMTokenNotification;
  44. FOUNDATION_EXPORT NSString *const kFIRMessagingInstanceIDTokenRefreshNotification __deprecated_msg("Use kFIRMessagingRegistrationTokenRefreshNotification instead");
  45. FOUNDATION_EXPORT NSString *const kFIRMessagingRegistrationTokenRefreshNotification;
  46. FOUNDATION_EXPORT const int kFIRMessagingSendTtlDefault; // 24 hours
  47. #endif