Compartilhar via


MidiReceiver.OnFlush Method

Definition

Called when the receiver is instructed to discard all pending MIDI data.

[Android.Runtime.Register("onFlush", "()V", "GetOnFlushHandler", ApiSince=23)]
public virtual void OnFlush ();
[<Android.Runtime.Register("onFlush", "()V", "GetOnFlushHandler", ApiSince=23)>]
abstract member OnFlush : unit -> unit
override this.OnFlush : unit -> unit
Attributes

Remarks

Called when the receiver is instructed to discard all pending MIDI data. Subclasses should override this method if they maintain a list or queue of MIDI data to be processed in the future.

Java documentation for android.media.midi.MidiReceiver.onFlush().

Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License.

Applies to