setUIMode static method

Future<void> setUIMode(
  1. int mode
)

update the ui mode when system volume changing. mode can be one of {hideUIWhenPlayable, hideUIWhenPlaying, neverShowUI, alwaysShowUI}

Implementation

static Future<void> setUIMode(int mode) {
  return FijkPlugin._channel
      .invokeMethod("volUiMode", <String, dynamic>{'mode': mode});
}