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 interface
AudioSession.InterruptionListener
static interface
AudioSession.PropertyListener
-
Constructor Summary
Constructors Constructor Description AudioSession()
-
Method Summary
All Methods Static Methods Concrete Methods Deprecated Methods Modifier and Type Method Description static void
addPropertyListener(AudioSessionProperty id, AudioSession.PropertyListener listener)
Deprecated.Deprecated in iOS 7.0.protected static OSStatus
addPropertyListener0(AudioSessionProperty id, org.robovm.rt.bro.ptr.FunctionPtr inProc, long inClientData)
Deprecated.Deprecated in iOS 7.0. no longer supportedstatic <T extends org.robovm.rt.bro.Struct<T>>
TgetProperty(AudioSessionProperty id, java.lang.Class<T> type)
Deprecated.Deprecated in iOS 7.0.protected static OSStatus
getProperty0(AudioSessionProperty id, org.robovm.rt.bro.ptr.IntPtr ioDataSize, org.robovm.rt.bro.ptr.VoidPtr outData)
Deprecated.Deprecated in iOS 7.0. no longer supportedstatic double
getPropertyAsDouble(AudioSessionProperty id)
Deprecated.static float
getPropertyAsFloat(AudioSessionProperty id)
Deprecated.static int
getPropertyAsInt(AudioSessionProperty id)
Deprecated.static long
getPropertyAsLong(AudioSessionProperty id)
Deprecated.static int
getPropertySize(AudioSessionProperty id)
Deprecated.Deprecated in iOS 7.0.protected static OSStatus
getPropertySize0(AudioSessionProperty id, org.robovm.rt.bro.ptr.IntPtr outDataSize)
Deprecated.Deprecated in iOS 7.0. no longer supportedstatic void
initialize(NSRunLoop runLoop, java.lang.String runLoopMode, AudioSession.InterruptionListener interruptionListener)
Deprecated.Deprecated in iOS 7.0.static void
initialize(NSRunLoop runLoop, NSRunLoopMode runLoopMode, AudioSession.InterruptionListener interruptionListener)
Deprecated.Deprecated in iOS 7.0.protected static OSStatus
initialize0(NSRunLoop inRunLoop, java.lang.String inRunLoopMode, org.robovm.rt.bro.ptr.FunctionPtr inInterruptionListener, long inClientData)
Deprecated.Deprecated in iOS 7.0. no longer supportedstatic void
removePropertyListener(AudioSessionProperty id, AudioSession.PropertyListener listener)
Deprecated.Deprecated in iOS 7.0.protected static OSStatus
removePropertyListener0(AudioSessionProperty id, org.robovm.rt.bro.ptr.FunctionPtr inProc, long inClientData)
Deprecated.Deprecated in iOS 7.0. no longer supportedstatic void
setActive(boolean active)
Deprecated.Deprecated in iOS 7.0.static void
setActive(boolean active, AudioSessionActivationFlags flags)
Deprecated.Deprecated in iOS 7.0.protected static OSStatus
setActive0(boolean active)
Deprecated.Deprecated in iOS 7.0. no longer supportedprotected static OSStatus
setActive0(boolean active, AudioSessionActivationFlags flags)
Deprecated.Deprecated in iOS 7.0. no longer supportedstatic void
setProperty(AudioSessionProperty id, double value)
Deprecated.static void
setProperty(AudioSessionProperty id, float value)
Deprecated.static void
setProperty(AudioSessionProperty id, int value)
Deprecated.static void
setProperty(AudioSessionProperty id, long value)
Deprecated.static <T extends org.robovm.rt.bro.Struct<T>>
voidsetProperty(AudioSessionProperty id, T data)
Deprecated.Deprecated in iOS 7.0.protected static OSStatus
setProperty0(AudioSessionProperty id, int inDataSize, org.robovm.rt.bro.ptr.VoidPtr inData)
Deprecated.Deprecated in iOS 7.0. no longer supported
-
-
-
Method Detail
-
initialize
@Deprecated public static void initialize(NSRunLoop runLoop, NSRunLoopMode runLoopMode, AudioSession.InterruptionListener interruptionListener) throws OSStatusException
Deprecated.Deprecated in iOS 7.0.- Throws:
OSStatusException
- Since:
- Available in iOS 2.0 and later.
-
initialize
@Deprecated public static void initialize(NSRunLoop runLoop, java.lang.String runLoopMode, AudioSession.InterruptionListener interruptionListener) throws OSStatusException
Deprecated.Deprecated in iOS 7.0.- Throws:
OSStatusException
- Since:
- Available in iOS 2.0 and later.
-
setActive
@Deprecated public static void setActive(boolean active) throws OSStatusException
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 OSStatusException
Deprecated.Deprecated in iOS 7.0.- Throws:
OSStatusException
- Since:
- Available in iOS 4.0 and later.
-
getProperty
@Deprecated public static <T extends org.robovm.rt.bro.Struct<T>> T getProperty(AudioSessionProperty id, java.lang.Class<T> type) throws OSStatusException
Deprecated.Deprecated in iOS 7.0.- Throws:
OSStatusException
- Since:
- Available in iOS 2.0 and later.
-
setProperty
@Deprecated public static <T extends org.robovm.rt.bro.Struct<T>> void setProperty(AudioSessionProperty id, T data) throws OSStatusException
Deprecated.Deprecated in iOS 7.0.- Throws:
OSStatusException
- Since:
- Available in iOS 2.0 and later.
-
getPropertyAsInt
@Deprecated public static int getPropertyAsInt(AudioSessionProperty id) throws OSStatusException
Deprecated.- Throws:
OSStatusException
-
getPropertyAsLong
@Deprecated public static long getPropertyAsLong(AudioSessionProperty id) throws OSStatusException
Deprecated.- Throws:
OSStatusException
-
getPropertyAsFloat
@Deprecated public static float getPropertyAsFloat(AudioSessionProperty id) throws OSStatusException
Deprecated.- Throws:
OSStatusException
-
getPropertyAsDouble
@Deprecated public static double getPropertyAsDouble(AudioSessionProperty id) throws OSStatusException
Deprecated.- Throws:
OSStatusException
-
setProperty
@Deprecated public static void setProperty(AudioSessionProperty id, int value) throws OSStatusException
Deprecated.- Throws:
OSStatusException
-
setProperty
@Deprecated public static void setProperty(AudioSessionProperty id, long value) throws OSStatusException
Deprecated.- Throws:
OSStatusException
-
setProperty
@Deprecated public static void setProperty(AudioSessionProperty id, float value) throws OSStatusException
Deprecated.- Throws:
OSStatusException
-
setProperty
@Deprecated public static void setProperty(AudioSessionProperty id, double value) throws OSStatusException
Deprecated.- Throws:
OSStatusException
-
getPropertySize
@Deprecated public static int getPropertySize(AudioSessionProperty id) throws OSStatusException
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 OSStatusException
Deprecated.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 OSStatusException
Deprecated.Deprecated in iOS 7.0.- Throws:
OSStatusException
- Since:
- Available in iOS 2.1 and later.
-
initialize0
@Deprecated protected static OSStatus initialize0(NSRunLoop inRunLoop, java.lang.String inRunLoopMode, org.robovm.rt.bro.ptr.FunctionPtr inInterruptionListener, long inClientData)
Deprecated.Deprecated in iOS 7.0. no longer supported- Since:
- Available in iOS 2.0 and later.
-
setActive0
@Deprecated protected static OSStatus setActive0(boolean active)
Deprecated.Deprecated in iOS 7.0. no longer supported- Since:
- Available in iOS 2.0 and later.
-
setActive0
@Deprecated protected static OSStatus setActive0(boolean active, AudioSessionActivationFlags flags)
Deprecated.Deprecated in iOS 7.0. no longer supported- Since:
- Available in iOS 4.0 and later.
-
getProperty0
@Deprecated protected static OSStatus getProperty0(AudioSessionProperty id, org.robovm.rt.bro.ptr.IntPtr ioDataSize, org.robovm.rt.bro.ptr.VoidPtr outData)
Deprecated.Deprecated in iOS 7.0. no longer supported- Since:
- Available in iOS 2.0 and later.
-
setProperty0
@Deprecated protected static OSStatus setProperty0(AudioSessionProperty id, int inDataSize, org.robovm.rt.bro.ptr.VoidPtr inData)
Deprecated.Deprecated in iOS 7.0. no longer supported- Since:
- Available in iOS 2.0 and later.
-
getPropertySize0
@Deprecated protected static OSStatus getPropertySize0(AudioSessionProperty id, org.robovm.rt.bro.ptr.IntPtr outDataSize)
Deprecated.Deprecated in iOS 7.0. no longer supported- Since:
- Available in iOS 2.0 and later.
-
addPropertyListener0
@Deprecated protected static OSStatus addPropertyListener0(AudioSessionProperty id, org.robovm.rt.bro.ptr.FunctionPtr inProc, long inClientData)
Deprecated.Deprecated in iOS 7.0. no longer supported- Since:
- Available in iOS 2.0 and later.
-
removePropertyListener0
@Deprecated protected static OSStatus removePropertyListener0(AudioSessionProperty id, org.robovm.rt.bro.ptr.FunctionPtr inProc, long inClientData)
Deprecated.Deprecated in iOS 7.0. no longer supported- Since:
- Available in iOS 2.1 and later.
-
-