Class UNNotificationSound
- java.lang.Object
-
- org.robovm.rt.bro.NativeObject
-
- org.robovm.objc.ObjCObject
-
- org.robovm.apple.foundation.NSObject
-
- org.robovm.apple.usernotifications.UNNotificationSound
-
- All Implemented Interfaces:
NSCoding
,NSObjectProtocol
,NSSecureCoding
,org.robovm.objc.ObjCProtocol
public class UNNotificationSound extends NSObject implements NSSecureCoding
- Since:
- Available in iOS 10.0 and later.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
UNNotificationSound.UNNotificationSoundPtr
-
Nested classes/interfaces inherited from class org.robovm.apple.foundation.NSObject
NSObject.Handle, NSObject.Marshaler, NSObject.NoRetainMarshaler, NSObject.NSKeyValueObserver, NSObject.NSObjectPtr, NSObject.SkipInit
-
-
Field Summary
-
Fields inherited from class org.robovm.apple.foundation.NSObject
FLAG_NO_RETAIN
-
-
Constructor Summary
Constructors Modifier Constructor Description protected
UNNotificationSound()
UNNotificationSound(NSCoder decoder)
protected
UNNotificationSound(NSObject.Handle h, long handle)
protected
UNNotificationSound(NSObject.SkipInit skipInit)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description void
encode(NSCoder coder)
static UNNotificationSound
getCriticalSound(java.lang.String name)
static UNNotificationSound
getCriticalSound(java.lang.String name, float volume)
static UNNotificationSound
getDefaultCriticalSound()
static UNNotificationSound
getDefaultCriticalSound(float volume)
static UNNotificationSound
getDefaultSound()
protected long
init(NSCoder decoder)
static UNNotificationSound
soundNamed(java.lang.String name)
static boolean
supportsSecureCoding()
-
Methods inherited from class org.robovm.apple.foundation.NSObject
addKeyValueObserver, addKeyValueObserver, afterMarshaled, alloc, autorelease, autorelease, awakeFromNib, conformsToProtocol, copy, description, didChangeValue, didChangeValue, didChangeValues, doDispose, equals, forceSkipInit, getAutoContentAccessingProxy, getClassForCoder, getClassForKeyedArchiver, getKeyValueCoder, getObservationInfo, hash, hashCode, init, isEqual, isKindOfClass, isMemberOfClass, mutableCopy, performSelector, performSelector, performSelector, performSelector, performSelector, performSelector, performSelector, performSelectorInBackground, performSelectorOnMainThread, performSelectorOnMainThread, performSelectorV, performSelectorV, performSelectorV, release, release, removeKeyValueObserver, removeKeyValueObservers, respondsToSelector, retain, retain, retainCount, setObservationInfo, toString, willChangeValue, willChangeValue, willChangeValues
-
-
-
-
Constructor Detail
-
UNNotificationSound
protected UNNotificationSound()
-
UNNotificationSound
protected UNNotificationSound(NSObject.Handle h, long handle)
-
UNNotificationSound
protected UNNotificationSound(NSObject.SkipInit skipInit)
-
UNNotificationSound
public UNNotificationSound(NSCoder decoder)
-
-
Method Detail
-
getDefaultSound
public static UNNotificationSound getDefaultSound()
-
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.
-
soundNamed
public static UNNotificationSound soundNamed(java.lang.String name)
-
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)
-
-