getButtonsState method

Future<int> getButtonsState()

Gets the current buttons state (see ButtonsState).

Implementation

Future<int> getButtonsState() async {
  return (await _get(CapturePropertyIds.buttonsStatusDevice)) as int;
}