You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
session-ios/SignalMessaging/environment/NotificationSounds.h

38 lines
959 B
Objective-C

//
// Copyright (c) 2018 Open Whisper Systems. All rights reserved.
//
typedef NS_ENUM(NSUInteger, NotificationSound) {
NotificationSound_Aurora = 0,
NotificationSound_Bamboo,
NotificationSound_Chord,
NotificationSound_Circles,
NotificationSound_Complete,
NotificationSound_Hello,
NotificationSound_Input,
NotificationSound_Keys,
NotificationSound_Note,
NotificationSound_Popcorn,
NotificationSound_Pulse,
NotificationSound_Synth,
NotificationSound_Default = NotificationSound_Note,
};
NS_ASSUME_NONNULL_BEGIN
@interface NotificationSounds : NSObject
- (instancetype)init NS_UNAVAILABLE;
+ (NSArray<NSNumber *> *)allNotificationSounds;
+ (NSString *)displayNameForNotificationSound:(NotificationSound)notificationSound;
+ (NSString *)filenameForNotificationSound:(NotificationSound)notificationSound;
+ (void)playNotificationSound:(NotificationSound)notificationSound;
@end
NS_ASSUME_NONNULL_END