handle property

  1. @override
Future<int> get handle
override

Internal platform specific identifier for this Player instance.

Since, int is a primitive type, it can be used to pass this Player instance to native code without directly depending upon this library.

Implementation

@override
Future<int> get handle async {
  await waitForPlayerInitialization;
  return ctx.address;
}