MidiTimeCodeMessage 類別
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
表示指定時間碼的 MIDI 訊息。
public ref class MidiTimeCodeMessage sealed
/// [Windows.Foundation.Metadata.Activatable(Windows.Devices.Midi.IMidiTimeCodeMessageFactory, 65536, Windows.Foundation.UniversalApiContract)]
/// [Windows.Foundation.Metadata.ContractVersion(Windows.Foundation.UniversalApiContract, 65536)]
/// [Windows.Foundation.Metadata.MarshalingBehavior(Windows.Foundation.Metadata.MarshalingType.Agile)]
/// [Windows.Foundation.Metadata.Threading(Windows.Foundation.Metadata.ThreadingModel.Both)]
class MidiTimeCodeMessage final
/// [Windows.Foundation.Metadata.ContractVersion(Windows.Foundation.UniversalApiContract, 65536)]
/// [Windows.Foundation.Metadata.MarshalingBehavior(Windows.Foundation.Metadata.MarshalingType.Agile)]
/// [Windows.Foundation.Metadata.Threading(Windows.Foundation.Metadata.ThreadingModel.Both)]
/// [Windows.Foundation.Metadata.Activatable(Windows.Devices.Midi.IMidiTimeCodeMessageFactory, 65536, "Windows.Foundation.UniversalApiContract")]
class MidiTimeCodeMessage final
[Windows.Foundation.Metadata.Activatable(typeof(Windows.Devices.Midi.IMidiTimeCodeMessageFactory), 65536, typeof(Windows.Foundation.UniversalApiContract))]
[Windows.Foundation.Metadata.ContractVersion(typeof(Windows.Foundation.UniversalApiContract), 65536)]
[Windows.Foundation.Metadata.MarshalingBehavior(Windows.Foundation.Metadata.MarshalingType.Agile)]
[Windows.Foundation.Metadata.Threading(Windows.Foundation.Metadata.ThreadingModel.Both)]
public sealed class MidiTimeCodeMessage
[Windows.Foundation.Metadata.ContractVersion(typeof(Windows.Foundation.UniversalApiContract), 65536)]
[Windows.Foundation.Metadata.MarshalingBehavior(Windows.Foundation.Metadata.MarshalingType.Agile)]
[Windows.Foundation.Metadata.Threading(Windows.Foundation.Metadata.ThreadingModel.Both)]
[Windows.Foundation.Metadata.Activatable(typeof(Windows.Devices.Midi.IMidiTimeCodeMessageFactory), 65536, "Windows.Foundation.UniversalApiContract")]
public sealed class MidiTimeCodeMessage
function MidiTimeCodeMessage(frameType, values)
Public NotInheritable Class MidiTimeCodeMessage
- 繼承
- 屬性
- 實作
Windows 需求
裝置系列 |
Windows 10 (已於 10.0.10240.0 引進)
|
API contract |
Windows.Foundation.UniversalApiContract (已於 v1.0 引進)
|
建構函式
MidiTimeCodeMessage(Byte, Byte) |
建立新的 MidiTimeCodeMessage 物件。 |
屬性
FrameType |
從 0-7 取得框架類型的值。 |
RawData |
取得與 MIDI 訊息相關聯的位元組陣列,包括狀態位元組。 |
Timestamp |
取得 從 MidiInPort 建立到收到訊息的時間的持續時間。 對於要傳送至 MidiOutPort的訊息,這個值沒有任何意義。 |
Type |
取得這個 MIDI 訊息的類型。 |
Values |
從 0-15 取得時間代碼值。 |