FIRMessagingConstants.h 2.1 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556
  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 kFIRMessagingSubDirectoryName;
  40. // Notifications
  41. FOUNDATION_EXPORT NSString *const kFIRMessagingCheckinFetchedNotification;
  42. FOUNDATION_EXPORT NSString *const kFIRMessagingAPNSTokenNotification;
  43. FOUNDATION_EXPORT NSString *const kFIRMessagingRegistrationTokenRefreshNotification;
  44. FOUNDATION_EXPORT const int kFIRMessagingSendTtlDefault; // 24 hours
  45. #endif