getExtensionProperty abstract method

Future<String> getExtensionProperty({
  1. required String provider,
  2. required String extension,
  3. required String key,
  4. required int bufLen,
  5. MediaSourceType type = MediaSourceType.unknownMediaSource,
})

Retrieves detailed information about the extension.

  • provider The name of the extension provider.
  • extension The name of the extension.
  • key The key of the extension property.
  • bufLen The maximum length of the extension property JSON string. The maximum value is 512 bytes.
  • type The media source type of the extension. See MediaSourceType.

Returns If the method call succeeds, returns the extension information. If the method call fails, returns an empty string.

Implementation

Future<String> getExtensionProperty(
    {required String provider,
    required String extension,
    required String key,
    required int bufLen,
    MediaSourceType type = MediaSourceType.unknownMediaSource});