setPlayerOptionInInt abstract method
Sets media player options.
The media player supports setting options using key and value. The difference between this method and setPlayerOptionInString is that this method uses an Int type for value, while setPlayerOptionInString uses a String type. The two cannot be mixed.
keyKey value.valueValue.
Returns When the method call succeeds, there is no return value; when fails, the AgoraRtcException exception is thrown. You need to catch the exception and handle it accordingly. See Error Codes for details and resolution suggestions.
Implementation
Future<void> setPlayerOptionInInt({required String key, required int value});