Meta SDK2 Beta  2.7.0
Meta.Interop.Buttons.MetaButton Class Reference

Class that contains the button information of the Meta2 More...

Public Member Functions

 MetaButton (ButtonType type, ButtonState state, double timestamp)
 Create a new instance of this class More...
 

Properties

ButtonType Type [get]
 Gets or sets the type of the button More...
 
ButtonState State [get]
 Gets or sets the current state of the button More...
 
double Timestamp [get]
 Gets or sets the time when the button was pressed from start More...
 

Detailed Description

Class that contains the button information of the Meta2

Constructor & Destructor Documentation

◆ MetaButton()

Meta.Interop.Buttons.MetaButton.MetaButton ( ButtonType  type,
ButtonState  state,
double  timestamp 
)
inline

Create a new instance of this class

Parameters
typeType of the button
stateState of the button
timestampTimestamp when the button was pressed

Property Documentation

◆ State

ButtonState Meta.Interop.Buttons.MetaButton.State
get

Gets or sets the current state of the button

◆ Timestamp

double Meta.Interop.Buttons.MetaButton.Timestamp
get

Gets or sets the time when the button was pressed from start

◆ Type

ButtonType Meta.Interop.Buttons.MetaButton.Type
get

Gets or sets the type of the button