PhotosNativePlatform class abstract

Inheritance
  • Object
  • PlatformInterface
  • PhotosNativePlatform
Implementers

Constructors

PhotosNativePlatform()
Constructs a PhotosNativePlatform.

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

acquireTexture(String id, int width, int height) Future<int>
delete(List<String> ids) Future<int>
encode(Uint8List bytes, int width, int height, {required int quality, String? mime}) Future<Uint8List>
getBytes(String? id, {String? uri}) Future<Uint8List>
getMemo<T>(String key) Future<T?>
getPixels(String id, {String? uri, required int maxSize}) Future<PHImageDescriptor>
getPlatformVersion() Future<String?>
getThumbnail(int width, int height, {String? id, String? uri}) Future<PHImageDescriptor>
getVersion() Future<PHVersion>
launchUrl(String url) Future<bool>
loadGallery({required String title}) Future<PHGallery>
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
releaseTexture(String id) Future<void>
requestPermissions() Future<bool>
save(Uint8List bytes, int width, int height, {required int quality, String? album, String? mime}) Future<bool>
saveFile(Uint8List bytes, int width, int height, {required int quality, String? mime, required String path}) Future<bool>
setMemo<T>(String key, T value) Future<bool>
share(Uint8List bytes, int width, int height, {String title = ""}) Future<bool>
toString() String
A string representation of this object.
inherited

Operators

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

Static Properties

instance PhotosNativePlatform
The default instance of PhotosNativePlatform to use.
getter/setter pair