MLNOfflineStorageDelegate class interface

The MLNOfflineStorageDelegate protocol defines methods that a delegate of an MLNOfflineStorage object can optionally implement to transform various types of URLs before downloading them via the internet.

Constructors

MLNOfflineStorageDelegate.castFrom(ObjCObjectBase other)
Constructs a MLNOfflineStorageDelegate that points to the same underlying object as other.
MLNOfflineStorageDelegate.castFromPointer(Pointer<ObjCObject> other, {bool retain = false, bool release = false})
Constructs a MLNOfflineStorageDelegate that wraps the given raw object pointer.

Properties

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

Methods

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 Properties

$protocol → Protocol
Returns the objc.Protocol object for this protocol.
no setter
offlineStorage_URLForResourceOfKind_withURL_ → ObjCProtocolMethod<NSURL Function(MLNOfflineStorage, MLNResourceKind, NSURL)>
Sent whenever a URL needs to be transformed.
final

Static Methods

addToBuilder(ObjCProtocolBuilder builder, {required NSURL offlineStorage_URLForResourceOfKind_withURL_(MLNOfflineStorage, MLNResourceKind, NSURL), bool $keepIsolateAlive = true}) → void
Adds the implementation of the MLNOfflineStorageDelegate protocol to an existing objc.ObjCProtocolBuilder.
conformsTo(ObjCObjectBase obj) bool
Returns whether obj is an instance of MLNOfflineStorageDelegate.
implement({required NSURL offlineStorage_URLForResourceOfKind_withURL_(MLNOfflineStorage, MLNResourceKind, NSURL), bool $keepIsolateAlive = true}) MLNOfflineStorageDelegate
Builds an object that implements the MLNOfflineStorageDelegate protocol. To implement multiple protocols, use addToBuilder or objc.ObjCProtocolBuilder directly.