MidiReceiver.Send Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Overloads
| Send(Byte[], Int32, Int32) |
Called to send MIDI data to the receiver without a timestamp. |
| Send(Byte[], Int32, Int32, Int64) |
Called to send MIDI data to the receiver with a specified timestamp. |
Send(Byte[], Int32, Int32)
Called to send MIDI data to the receiver without a timestamp.
[Android.Runtime.Register("send", "([BII)V", "GetSend_arrayBIIHandler", ApiSince=23)]
public virtual void Send (byte[]? msg, int offset, int count);
[<Android.Runtime.Register("send", "([BII)V", "GetSend_arrayBIIHandler", ApiSince=23)>]
abstract member Send : byte[] * int * int -> unit
override this.Send : byte[] * int * int -> unit
Parameters
- msg
- Byte[]
a byte array containing the MIDI data
- offset
- Int32
the offset of the first byte of the data in the array to be sent
- count
- Int32
the number of bytes of MIDI data in the array to be sent
- Attributes
Remarks
Java documentation for android.media.midi.MidiReceiver.send(byte[], int, int).
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
Send(Byte[], Int32, Int32, Int64)
Called to send MIDI data to the receiver with a specified timestamp.
[Android.Runtime.Register("send", "([BIIJ)V", "GetSend_arrayBIIJHandler", ApiSince=23)]
public virtual void Send (byte[]? msg, int offset, int count, long timestamp);
[<Android.Runtime.Register("send", "([BIIJ)V", "GetSend_arrayBIIJHandler", ApiSince=23)>]
abstract member Send : byte[] * int * int * int64 -> unit
override this.Send : byte[] * int * int * int64 -> unit
Parameters
- msg
- Byte[]
a byte array containing the MIDI data
- offset
- Int32
the offset of the first byte of the data in the array to be sent
- count
- Int32
the number of bytes of MIDI data in the array to be sent
- timestamp
- Int64
the timestamp of the message, based on java.lang.System#nanoTime
- Attributes
Remarks
Java documentation for android.media.midi.MidiReceiver.send(byte[], int, int, long).
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.