Android.Media.JetPlayer.QueueJetSegment Method
Queues the specified segment in the JET queue.

Syntax

[Android.Runtime.Register("queueJetSegment", "(IIIIIB)Z", "GetQueueJetSegment_IIIIIBHandler")]
public virtual bool QueueJetSegment (int segmentNum, int libNum, int repeatCount, int transpose, int muteFlags, sbyte userID)

Parameters

segmentNum
the identifier of the segment.
libNum
the index of the sound bank associated with the segment. Use -1 to indicate that no sound bank (DLS file) is associated with this segment, in which case JET will use the General MIDI library.
repeatCount
the number of times the segment will be repeated. 0 means the segment will only play once. -1 means the segment will repeat indefinitely.
transpose
the amount of pitch transposition. Set to 0 for normal playback. Range is -12 to +12.
muteFlags
a bitmask to specify which MIDI tracks will be muted during playback. Bit 0 affects track 0, bit 1 affects track 1 etc.
userID
a value specified by the application that uniquely identifies the segment. this value is received in the NoType:android/media/JetPlayer$OnJetEventListener;Href=../../../reference/android/media/JetPlayer.OnJetEventListener.html#onJetUserIdUpdate(android.media.JetPlayer, int, int) event listener method. Normally, the application will keep a byte value that is incremented each time a new segment is queued up. This can be used to look up any special characteristics of that track including trigger clips and mute flags.

Returns

Documentation for this section has not yet been entered.

Remarks

Queues the specified segment in the JET queue.

[Android Documentation]

Requirements

Namespace: Android.Media
Assembly: Mono.Android (in Mono.Android.dll)
Assembly Versions: 0.0.0.0
Since: Added in API level 3