initialize abstract method

Future<XVideoPlayerMetadata> initialize(
  1. int handle
)

Load the media. Resolves once the codec is configured and metadata (size, duration) is known. Throws XVideoPlayerException("decode_failed") if the file can't be opened or the codec init failed permanently.

Implementation

Future<XVideoPlayerMetadata> initialize(int handle);