ContentResolver class
Resolves content:xxxx
style URI using ContentResolver.
Properties
- address → int
-
Address of buffer that contains the content
final
- buffer → Uint8List
-
Buffer that contains the content.
no setter
- fileName → String?
-
File name of the content
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- length → int
-
Byte size of the content
final
- mimeType → String?
-
Mimetype of the content
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
dispose(
) → Future< void> - Dispose the associated native buffer.
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited
Static Methods
-
resolve(
String uri) → Future< ContentResolver> -
For advanced use only; obtaining
ContentResolver
that manages content buffer. the instance must be released by calling dispose method. -
resolveContent(
String uri) → Future< Content> -
Get the content of the specified
content:xxxx
style URI. -
writeContent(
String uri, Uint8List bytes, {String mode = "wt"}) → Future< void> - Directly writes a content as a Uint8List