MidiTimeCodeMessage.MidiTimeCodeMessage constructor

[This documentation is preliminary and is subject to change.]

Creates a new MidiTimeCodeMessage object.

Important  

The WindowsPreview.Devices.Midi API are preview API and are not included in the Windows Software Development Kit (SDK). The API are distributed as a NuGet package. See WindowsPreview.Devices.Midi for info on how to download and install the NuGet package in your project.

WindowsPreview.Devices.Midi API require Windows 8.1 Update and later.

Syntax

var midiTimeCodeMessage = new WindowsPreview.Devices.Midi.MidiTimeCodeMessage(frameType, values);
public MidiTimeCodeMessage(
  byte frameType, 
  byte values
)
Public Sub New (
  frameType As Byte,  
  values As Byte 
)
public:
MidiTimeCodeMessage(
  unsigned char frameType, 
  unsigned char values
)

Parameters

  • frameType
    Type: Number [JavaScript] | System.Byte [.NET] | uint8 [C++]

    The frame type from 0-7.

  • values
    Type: Number [JavaScript] | System.Byte [.NET] | uint8 [C++]

    The time code from 0-32.

Remarks

If any values passed into the constructor fo not adhere to the specified requirements, an InvalidArg exception will be thrown.

Requirements

Minimum supported client

Windows 8.1

Minimum supported server

Windows Server 2012 R2

Namespace

WindowsPreview.Devices.Midi WindowsPreview::Devices::Midi [C++]

Metadata

WindowsPreview.winmd

See also

MidiTimeCodeMessage