OnAudioEdit class

Interface and Main method for use on_audio_edit

Constructors

OnAudioEdit()

Properties

hashCode int
The hash code for this object.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

complexPermissionStatus() Future<bool>
Used to check Complex Android permissions status.
convertLengthToMb(int length, bool roundNum) double
Used to return a converted value from file length.
deleteArtwork(String data) Future<bool>
Used to delete audio artwork.
deleteArtworks(List<String> data) Future<bool>
Used to delete multiples audios artworks.
deleteAudio(String data) Future<bool>
Used to delete specific audio from device.
editArtwork(String data, {bool? openFilePicker, String? imagePath, ArtworkFormat? format, int? size, String? description, bool? searchInsideFolders}) Future<bool>
Used to edit audio artwork.
editAudio(String data, Map<TagType, dynamic> tags, {bool? searchInsideFolders}) Future<bool>
Used to edit song info.
editAudios(List<String> data, List<Map<TagType, dynamic>> tags) Future<bool>
Used to edit multiples songs info.
getImage({ArtworkFormat? format, int? quality}) Future<ImageModel>
Used to open image folder to user select image and return this ImageModel.
getUri({bool originalPath = false}) Future<String?>
Used to return the uri(if exist) from the folder selected from user. This uri will be avalible after requestComplexPermission or editAudio when using Android 10 or above.
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
permissionsStatus() Future<bool>
Used to check Android permissions status.
readAudio(String data) Future<AudioModel>
Used to return unique song info.
readAudios(List<String> data, {bool separateThread = false}) Future<List<AudioModel>>
Used to return multiples songs info.
readSingleAudioTag(String data, TagType tag) Future<String>
Used to return unique song tag.
readSpecificsAudioTags(String data, List<TagType> tags) Future<AudioModel>
Used to return specifics tags from song.
requestComplexPermission() Future<bool>
Used to request Complex Android permissions.
resetComplexPermission() Future<bool>
Used to reset Complex Android permissions.
toString() String
A string representation of this object.
inherited

Operators

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

Constants

channelId → const String