Package org.robovm.apple.audiotoolbox
Class AudioSession
java.lang.Object
org.robovm.apple.foundation.CocoaUtility
org.robovm.apple.audiotoolbox.AudioSession
public class AudioSession extends CocoaUtility
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interfaceAudioSession.InterruptionListenerstatic interfaceAudioSession.PropertyListener -
Constructor Summary
Constructors Constructor Description AudioSession() -
Method Summary
Modifier and Type Method Description static voidaddPropertyListener(AudioSessionProperty id, AudioSession.PropertyListener listener)Deprecated.Deprecated in iOS 7.0.protected static OSStatusaddPropertyListener0(AudioSessionProperty id, FunctionPtr inProc, long inClientData)Deprecated.Deprecated in iOS 7.0.static <T extends Struct<T>>
TgetProperty(AudioSessionProperty id, Class<T> type)Deprecated.Deprecated in iOS 7.0.protected static OSStatusgetProperty0(AudioSessionProperty id, IntPtr ioDataSize, VoidPtr outData)Deprecated.Deprecated in iOS 7.0.static doublegetPropertyAsDouble(AudioSessionProperty id)Deprecated.static floatgetPropertyAsFloat(AudioSessionProperty id)Deprecated.static intgetPropertyAsInt(AudioSessionProperty id)Deprecated.static longgetPropertyAsLong(AudioSessionProperty id)Deprecated.static intgetPropertySize(AudioSessionProperty id)Deprecated.Deprecated in iOS 7.0.protected static OSStatusgetPropertySize0(AudioSessionProperty id, IntPtr outDataSize)Deprecated.Deprecated in iOS 7.0.static voidinitialize(NSRunLoop runLoop, String runLoopMode, AudioSession.InterruptionListener interruptionListener)Deprecated.Deprecated in iOS 7.0.static voidinitialize(NSRunLoop runLoop, NSRunLoopMode runLoopMode, AudioSession.InterruptionListener interruptionListener)Deprecated.Deprecated in iOS 7.0.protected static OSStatusinitialize0(NSRunLoop inRunLoop, String inRunLoopMode, FunctionPtr inInterruptionListener, long inClientData)Deprecated.Deprecated in iOS 7.0.static voidremovePropertyListener(AudioSessionProperty id, AudioSession.PropertyListener listener)Deprecated.Deprecated in iOS 7.0.protected static OSStatusremovePropertyListener0(AudioSessionProperty id, FunctionPtr inProc, long inClientData)Deprecated.Deprecated in iOS 7.0.static voidsetActive(boolean active)Deprecated.Deprecated in iOS 7.0.static voidsetActive(boolean active, AudioSessionActivationFlags flags)Deprecated.Deprecated in iOS 7.0.protected static OSStatussetActive0(boolean active)Deprecated.Deprecated in iOS 7.0.protected static OSStatussetActive0(boolean active, AudioSessionActivationFlags flags)Deprecated.Deprecated in iOS 7.0.static voidsetProperty(AudioSessionProperty id, double value)Deprecated.static voidsetProperty(AudioSessionProperty id, float value)Deprecated.static voidsetProperty(AudioSessionProperty id, int value)Deprecated.static voidsetProperty(AudioSessionProperty id, long value)Deprecated.static <T extends Struct<T>>
voidsetProperty(AudioSessionProperty id, T data)Deprecated.Deprecated in iOS 7.0.protected static OSStatussetProperty0(AudioSessionProperty id, int inDataSize, VoidPtr inData)Deprecated.Deprecated in iOS 7.0.
-
Constructor Details
-
AudioSession
public AudioSession()
-
-
Method Details
-
initialize
@Deprecated public static void initialize(NSRunLoop runLoop, NSRunLoopMode runLoopMode, AudioSession.InterruptionListener interruptionListener) throws OSStatusExceptionDeprecated.Deprecated in iOS 7.0.- Throws:
OSStatusException- Since:
- Available in iOS 2.0 and later.
-
initialize
@Deprecated public static void initialize(NSRunLoop runLoop, String runLoopMode, AudioSession.InterruptionListener interruptionListener) throws OSStatusExceptionDeprecated.Deprecated in iOS 7.0.- Throws:
OSStatusException- Since:
- Available in iOS 2.0 and later.
-
setActive
Deprecated.Deprecated in iOS 7.0.- Throws:
OSStatusException- Since:
- Available in iOS 2.0 and later.
-
setActive
@Deprecated public static void setActive(boolean active, AudioSessionActivationFlags flags) throws OSStatusExceptionDeprecated.Deprecated in iOS 7.0.- Throws:
OSStatusException- Since:
- Available in iOS 4.0 and later.
-
getProperty
@Deprecated public static <T extends Struct<T>> T getProperty(AudioSessionProperty id, Class<T> type) throws OSStatusExceptionDeprecated.Deprecated in iOS 7.0.- Throws:
OSStatusException- Since:
- Available in iOS 2.0 and later.
-
setProperty
@Deprecated public static <T extends Struct<T>> void setProperty(AudioSessionProperty id, T data) throws OSStatusExceptionDeprecated.Deprecated in iOS 7.0.- Throws:
OSStatusException- Since:
- Available in iOS 2.0 and later.
-
getPropertyAsInt
Deprecated.- Throws:
OSStatusException
-
getPropertyAsLong
Deprecated.- Throws:
OSStatusException
-
getPropertyAsFloat
@Deprecated public static float getPropertyAsFloat(AudioSessionProperty id) throws OSStatusExceptionDeprecated.- Throws:
OSStatusException
-
getPropertyAsDouble
@Deprecated public static double getPropertyAsDouble(AudioSessionProperty id) throws OSStatusExceptionDeprecated.- Throws:
OSStatusException
-
setProperty
@Deprecated public static void setProperty(AudioSessionProperty id, int value) throws OSStatusExceptionDeprecated.- Throws:
OSStatusException
-
setProperty
@Deprecated public static void setProperty(AudioSessionProperty id, long value) throws OSStatusExceptionDeprecated.- Throws:
OSStatusException
-
setProperty
@Deprecated public static void setProperty(AudioSessionProperty id, float value) throws OSStatusExceptionDeprecated.- Throws:
OSStatusException
-
setProperty
@Deprecated public static void setProperty(AudioSessionProperty id, double value) throws OSStatusExceptionDeprecated.- Throws:
OSStatusException
-
getPropertySize
Deprecated.Deprecated in iOS 7.0.- Throws:
OSStatusException- Since:
- Available in iOS 2.0 and later.
-
addPropertyListener
@Deprecated public static void addPropertyListener(AudioSessionProperty id, AudioSession.PropertyListener listener) throws OSStatusExceptionDeprecated.Deprecated in iOS 7.0.- Throws:
OSStatusException- Since:
- Available in iOS 2.0 and later.
-
removePropertyListener
@Deprecated public static void removePropertyListener(AudioSessionProperty id, AudioSession.PropertyListener listener) throws OSStatusExceptionDeprecated.Deprecated in iOS 7.0.- Throws:
OSStatusException- Since:
- Available in iOS 2.1 and later.
-
initialize0
@Deprecated protected static OSStatus initialize0(NSRunLoop inRunLoop, String inRunLoopMode, FunctionPtr inInterruptionListener, long inClientData)Deprecated.Deprecated in iOS 7.0. no longer supported -
setActive0
Deprecated.Deprecated in iOS 7.0. no longer supported -
setActive0
@Deprecated protected static OSStatus setActive0(boolean active, AudioSessionActivationFlags flags)Deprecated.Deprecated in iOS 7.0. no longer supported -
getProperty0
@Deprecated protected static OSStatus getProperty0(AudioSessionProperty id, IntPtr ioDataSize, VoidPtr outData)Deprecated.Deprecated in iOS 7.0. no longer supported -
setProperty0
@Deprecated protected static OSStatus setProperty0(AudioSessionProperty id, int inDataSize, VoidPtr inData)Deprecated.Deprecated in iOS 7.0. no longer supported -
getPropertySize0
@Deprecated protected static OSStatus getPropertySize0(AudioSessionProperty id, IntPtr outDataSize)Deprecated.Deprecated in iOS 7.0. no longer supported -
addPropertyListener0
@Deprecated protected static OSStatus addPropertyListener0(AudioSessionProperty id, FunctionPtr inProc, long inClientData)Deprecated.Deprecated in iOS 7.0. no longer supported -
removePropertyListener0
@Deprecated protected static OSStatus removePropertyListener0(AudioSessionProperty id, FunctionPtr inProc, long inClientData)Deprecated.Deprecated in iOS 7.0. no longer supported
-