Class UNNotificationSound

    • Constructor Detail

      • UNNotificationSound

        protected UNNotificationSound()
      • UNNotificationSound

        protected UNNotificationSound​(NSObject.Handle h,
                                      long handle)
      • UNNotificationSound

        public UNNotificationSound​(NSCoder decoder)
    • Method Detail

      • getDefaultCriticalSound

        public static UNNotificationSound getDefaultCriticalSound()
        Since:
        Available in iOS 12.0 and later.
      • supportsSecureCoding

        public static boolean supportsSecureCoding()
      • getDefaultCriticalSound

        public static UNNotificationSound getDefaultCriticalSound​(float volume)
        Since:
        Available in iOS 12.0 and later.
      • getCriticalSound

        public static UNNotificationSound getCriticalSound​(java.lang.String name)
        Since:
        Available in iOS 12.0 and later.
      • getCriticalSound

        public static UNNotificationSound getCriticalSound​(java.lang.String name,
                                                           float volume)
        Since:
        Available in iOS 12.0 and later.
      • init

        protected long init​(NSCoder decoder)