IMediaProvider class Null safety

Media provider interface.

Inheritance
Implementers

Constructors

IMediaProvider()

Properties

hashCode int
The hash code for this object.
read-onlyinherited
runtimeType Type
A representation of the runtime type of the object.
read-onlyinherited

Methods

addPlugin<T extends IPlugin>(IPlugin plugin) → void
Adds plugin.
inherited
cleanPlugins() → void
Clean plugins.
inherited
getCameras() Future<List<CameraDescription>>
Gets list of cameras.
getPlugin<T extends IPlugin>() IPlugin?
Gets plugin.
inherited
noSuchMethod(Invocation invocation) → dynamic
Invoked when a non-existent method or property is accessed.
inherited
open({MediaProviderSettings? settings, MediaProviderCallback? onOpen, MediaProviderCallback? onSuccess, MediaProviderCallback? onError, MediaProviderCallback? onCancel}) Future<void>
Open media chooser.
removePlugin<T extends IPlugin>() → void
Removes plugin.
inherited
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited