setReleaseMode method

  1. @override
Future<void> setReleaseMode(
  1. String playerId,
  2. ReleaseMode releaseMode
)
override

Sets the release mode.

Check ReleaseMode's doc to understand the difference between the modes.

Implementation

@override
Future<void> setReleaseMode(String playerId, ReleaseMode releaseMode) {
  return _call(
    'setReleaseMode',
    playerId,
    <String, dynamic>{
      'releaseMode': releaseMode.toString(),
    },
  );
}