createPlayer static method

Future<int> createPlayer(
  1. String identifier
)

Implementation

static Future<int> createPlayer(String identifier) async {
  final int? result = await _channel.invokeMethod('createNativePlayer',{
    'identifier' : identifier
  });
  return result ?? -1;
}