Package org.robovm.apple.audiotoolbox
Class MusicEventIterator
- java.lang.Object
-
- org.robovm.rt.bro.NativeObject
-
- org.robovm.apple.audiotoolbox.MusicEventIterator
-
public class MusicEventIterator extends org.robovm.rt.bro.NativeObject
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
MusicEventIterator.MusicEventIteratorPtr
-
Constructor Summary
Constructors Modifier Constructor Description protected
MusicEventIterator()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static MusicEventIterator
create(MusicTrack track)
protected static OSStatus
create0(MusicTrack inTrack, MusicEventIterator.MusicEventIteratorPtr outIterator)
void
deleteEvent()
protected OSStatus
deleteEvent0()
void
dispose()
protected OSStatus
dispose0()
void
fetchEventInfo()
<T extends org.robovm.rt.bro.Struct<T>>
TgetEventData(java.lang.Class<T> type)
int
getEventDataSize()
protected OSStatus
getEventInfo0(org.robovm.rt.bro.ptr.DoublePtr outTimeStamp, org.robovm.rt.bro.ptr.IntPtr outEventType, org.robovm.rt.bro.ptr.VoidPtr.VoidPtrPtr outEventData, org.robovm.rt.bro.ptr.IntPtr outEventDataSize)
double
getEventTime()
MusicEventType
getEventType()
boolean
hasCurrentEvent()
protected OSStatus
hasCurrentEvent0(org.robovm.rt.bro.ptr.BooleanPtr outHasCurEvent)
boolean
hasNextEvent()
protected OSStatus
hasNextEvent0(org.robovm.rt.bro.ptr.BooleanPtr outHasNextEvent)
boolean
hasPreviousEvent()
protected OSStatus
hasPreviousEvent0(org.robovm.rt.bro.ptr.BooleanPtr outHasPrevEvent)
void
nextEvent()
protected OSStatus
nextEvent0()
void
previousEvent()
protected OSStatus
previousEvent0()
void
seek(double timeStamp)
protected OSStatus
seek0(double inTimeStamp)
<T extends org.robovm.rt.bro.Struct<T>>
voidsetEventData(MusicEventType type, T data)
protected OSStatus
setEventInfo0(MusicEventType inEventType, org.robovm.rt.bro.ptr.VoidPtr inEventData)
void
setEventTime(double timeStamp)
protected OSStatus
setEventTime0(double inTimeStamp)
-
-
-
Method Detail
-
create
public static MusicEventIterator create(MusicTrack track) throws OSStatusException
- Throws:
OSStatusException
- Since:
- Available in iOS 5.0 and later.
-
dispose
public void dispose() throws OSStatusException
- Throws:
OSStatusException
- Since:
- Available in iOS 5.0 and later.
-
seek
public void seek(double timeStamp) throws OSStatusException
- Throws:
OSStatusException
- Since:
- Available in iOS 5.0 and later.
-
nextEvent
public void nextEvent() throws OSStatusException
- Throws:
OSStatusException
- Since:
- Available in iOS 5.0 and later.
-
previousEvent
public void previousEvent() throws OSStatusException
- Throws:
OSStatusException
- Since:
- Available in iOS 5.0 and later.
-
fetchEventInfo
public void fetchEventInfo() throws OSStatusException
- Throws:
OSStatusException
- Since:
- Available in iOS 5.0 and later.
-
getEventTime
public double getEventTime()
-
getEventType
public MusicEventType getEventType()
-
getEventData
public <T extends org.robovm.rt.bro.Struct<T>> T getEventData(java.lang.Class<T> type)
-
getEventDataSize
public int getEventDataSize()
-
setEventData
public <T extends org.robovm.rt.bro.Struct<T>> void setEventData(MusicEventType type, T data) throws OSStatusException
- Throws:
OSStatusException
- Since:
- Available in iOS 5.0 and later.
-
setEventTime
public void setEventTime(double timeStamp) throws OSStatusException
- Throws:
OSStatusException
- Since:
- Available in iOS 5.0 and later.
-
deleteEvent
public void deleteEvent() throws OSStatusException
- Throws:
OSStatusException
- Since:
- Available in iOS 5.0 and later.
-
hasPreviousEvent
public boolean hasPreviousEvent() throws OSStatusException
- Throws:
OSStatusException
- Since:
- Available in iOS 5.0 and later.
-
hasNextEvent
public boolean hasNextEvent() throws OSStatusException
- Throws:
OSStatusException
- Since:
- Available in iOS 5.0 and later.
-
hasCurrentEvent
public boolean hasCurrentEvent() throws OSStatusException
- Throws:
OSStatusException
- Since:
- Available in iOS 5.0 and later.
-
create0
protected static OSStatus create0(MusicTrack inTrack, MusicEventIterator.MusicEventIteratorPtr outIterator)
- Since:
- Available in iOS 5.0 and later.
-
dispose0
protected OSStatus dispose0()
- Since:
- Available in iOS 5.0 and later.
-
seek0
protected OSStatus seek0(double inTimeStamp)
- Since:
- Available in iOS 5.0 and later.
-
nextEvent0
protected OSStatus nextEvent0()
- Since:
- Available in iOS 5.0 and later.
-
previousEvent0
protected OSStatus previousEvent0()
- Since:
- Available in iOS 5.0 and later.
-
getEventInfo0
protected OSStatus getEventInfo0(org.robovm.rt.bro.ptr.DoublePtr outTimeStamp, org.robovm.rt.bro.ptr.IntPtr outEventType, org.robovm.rt.bro.ptr.VoidPtr.VoidPtrPtr outEventData, org.robovm.rt.bro.ptr.IntPtr outEventDataSize)
- Since:
- Available in iOS 5.0 and later.
-
setEventInfo0
protected OSStatus setEventInfo0(MusicEventType inEventType, org.robovm.rt.bro.ptr.VoidPtr inEventData)
- Since:
- Available in iOS 5.0 and later.
-
setEventTime0
protected OSStatus setEventTime0(double inTimeStamp)
- Since:
- Available in iOS 5.0 and later.
-
deleteEvent0
protected OSStatus deleteEvent0()
- Since:
- Available in iOS 5.0 and later.
-
hasPreviousEvent0
protected OSStatus hasPreviousEvent0(org.robovm.rt.bro.ptr.BooleanPtr outHasPrevEvent)
- Since:
- Available in iOS 5.0 and later.
-
hasNextEvent0
protected OSStatus hasNextEvent0(org.robovm.rt.bro.ptr.BooleanPtr outHasNextEvent)
- Since:
- Available in iOS 5.0 and later.
-
hasCurrentEvent0
protected OSStatus hasCurrentEvent0(org.robovm.rt.bro.ptr.BooleanPtr outHasCurEvent)
- Since:
- Available in iOS 5.0 and later.
-
-