Package org.robovm.apple.audiotoolbox
Class MusicEventIterator
java.lang.Object
org.robovm.rt.bro.NativeObject
org.robovm.apple.audiotoolbox.MusicEventIterator
public class MusicEventIterator extends NativeObject
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classMusicEventIterator.MusicEventIteratorPtrNested classes/interfaces inherited from class org.robovm.rt.bro.NativeObject
NativeObject.Marshaler -
Constructor Summary
Constructors Modifier Constructor Description protectedMusicEventIterator() -
Method Summary
Modifier and Type Method Description static MusicEventIteratorcreate(MusicTrack track)protected static OSStatuscreate0(MusicTrack inTrack, MusicEventIterator.MusicEventIteratorPtr outIterator)voiddeleteEvent()protected OSStatusdeleteEvent0()voiddispose()protected OSStatusdispose0()voidfetchEventInfo()<T extends Struct<T>>
TgetEventData(Class<T> type)intgetEventDataSize()protected OSStatusgetEventInfo0(DoublePtr outTimeStamp, IntPtr outEventType, VoidPtr.VoidPtrPtr outEventData, IntPtr outEventDataSize)doublegetEventTime()MusicEventTypegetEventType()booleanhasCurrentEvent()protected OSStatushasCurrentEvent0(BooleanPtr outHasCurEvent)booleanhasNextEvent()protected OSStatushasNextEvent0(BooleanPtr outHasNextEvent)booleanhasPreviousEvent()protected OSStatushasPreviousEvent0(BooleanPtr outHasPrevEvent)voidnextEvent()protected OSStatusnextEvent0()voidpreviousEvent()protected OSStatuspreviousEvent0()voidseek(double timeStamp)protected OSStatusseek0(double inTimeStamp)<T extends Struct<T>>
voidsetEventData(MusicEventType type, T data)protected OSStatussetEventInfo0(MusicEventType inEventType, VoidPtr inEventData)voidsetEventTime(double timeStamp)protected OSStatussetEventTime0(double inTimeStamp)
-
Constructor Details
-
MusicEventIterator
protected MusicEventIterator()
-
-
Method Details
-
create
- Throws:
OSStatusException- Since:
- Available in iOS 5.0 and later.
-
dispose
- Throws:
OSStatusException- Since:
- Available in iOS 5.0 and later.
-
seek
- Throws:
OSStatusException- Since:
- Available in iOS 5.0 and later.
-
nextEvent
- Throws:
OSStatusException- Since:
- Available in iOS 5.0 and later.
-
previousEvent
- Throws:
OSStatusException- Since:
- Available in iOS 5.0 and later.
-
fetchEventInfo
- Throws:
OSStatusException- Since:
- Available in iOS 5.0 and later.
-
getEventTime
public double getEventTime() -
getEventType
-
getEventData
-
getEventDataSize
public int getEventDataSize() -
setEventData
public <T extends Struct<T>> void setEventData(MusicEventType type, T data) throws OSStatusException- Throws:
OSStatusException- Since:
- Available in iOS 5.0 and later.
-
setEventTime
- Throws:
OSStatusException- Since:
- Available in iOS 5.0 and later.
-
deleteEvent
- Throws:
OSStatusException- Since:
- Available in iOS 5.0 and later.
-
hasPreviousEvent
- Throws:
OSStatusException- Since:
- Available in iOS 5.0 and later.
-
hasNextEvent
- Throws:
OSStatusException- Since:
- Available in iOS 5.0 and later.
-
hasCurrentEvent
- Throws:
OSStatusException- Since:
- Available in iOS 5.0 and later.
-
create0
protected static OSStatus create0(MusicTrack inTrack, MusicEventIterator.MusicEventIteratorPtr outIterator) -
dispose0
-
seek0
-
nextEvent0
-
previousEvent0
-
getEventInfo0
protected OSStatus getEventInfo0(DoublePtr outTimeStamp, IntPtr outEventType, VoidPtr.VoidPtrPtr outEventData, IntPtr outEventDataSize) -
setEventInfo0
-
setEventTime0
-
deleteEvent0
-
hasPreviousEvent0
-
hasNextEvent0
-
hasCurrentEvent0
-