MLNOfflineRegion class interface

An object conforming to the MLNOfflineRegion protocol determines which resources are required by an MLNOfflinePack object.

Implementers

Constructors

MLNOfflineRegion.castFrom(ObjCObjectBase other)
Constructs a MLNOfflineRegion that points to the same underlying object as other.
MLNOfflineRegion.castFromPointer(Pointer<ObjCObject> other, {bool retain = false, bool release = false})
Constructs a MLNOfflineRegion 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
includesIdeographicGlyphs → ObjCProtocolMethod<bool Function()>
Specifies whether to include ideographic glyphs in downloaded font data. Ideographic glyphs make up the majority of downloaded font data, but it is possible to configure the renderer to use locally installed fonts instead of relying on fonts downloaded as part of the offline pack. See MLNIdeographicFontFamilyName setting. Also, for regions outside of China, Japan, and Korea, these glyphs will rarely appear for non-CJK users.
final
setIncludesIdeographicGlyphs_ → ObjCProtocolListenableMethod<void Function(bool)>
Specifies whether to include ideographic glyphs in downloaded font data. Ideographic glyphs make up the majority of downloaded font data, but it is possible to configure the renderer to use locally installed fonts instead of relying on fonts downloaded as part of the offline pack. See MLNIdeographicFontFamilyName setting. Also, for regions outside of China, Japan, and Korea, these glyphs will rarely appear for non-CJK users.
final
styleURL → ObjCProtocolMethod<NSURL Function()>
URL of the style whose resources are required for offline viewing.
final

Static Methods

addToBuilder(ObjCProtocolBuilder builder, {required NSURL styleURL(), required bool includesIdeographicGlyphs(), required void setIncludesIdeographicGlyphs_(bool), bool $keepIsolateAlive = true}) → void
Adds the implementation of the MLNOfflineRegion protocol to an existing objc.ObjCProtocolBuilder.
addToBuilderAsBlocking(ObjCProtocolBuilder builder, {required NSURL styleURL(), required bool includesIdeographicGlyphs(), required void setIncludesIdeographicGlyphs_(bool), bool $keepIsolateAlive = true}) → void
Adds the implementation of the MLNOfflineRegion protocol to an existing objc.ObjCProtocolBuilder. All methods that can be implemented as blocking listeners will be.
addToBuilderAsListener(ObjCProtocolBuilder builder, {required NSURL styleURL(), required bool includesIdeographicGlyphs(), required void setIncludesIdeographicGlyphs_(bool), bool $keepIsolateAlive = true}) → void
Adds the implementation of the MLNOfflineRegion protocol to an existing objc.ObjCProtocolBuilder. All methods that can be implemented as listeners will be.
conformsTo(ObjCObjectBase obj) bool
Returns whether obj is an instance of MLNOfflineRegion.
implement({required NSURL styleURL(), required bool includesIdeographicGlyphs(), required void setIncludesIdeographicGlyphs_(bool), bool $keepIsolateAlive = true}) MLNOfflineRegion
Builds an object that implements the MLNOfflineRegion protocol. To implement multiple protocols, use addToBuilder or objc.ObjCProtocolBuilder directly.
implementAsBlocking({required NSURL styleURL(), required bool includesIdeographicGlyphs(), required void setIncludesIdeographicGlyphs_(bool), bool $keepIsolateAlive = true}) MLNOfflineRegion
Builds an object that implements the MLNOfflineRegion protocol. To implement multiple protocols, use addToBuilder or objc.ObjCProtocolBuilder directly. All methods that can be implemented as blocking listeners will be.
implementAsListener({required NSURL styleURL(), required bool includesIdeographicGlyphs(), required void setIncludesIdeographicGlyphs_(bool), bool $keepIsolateAlive = true}) MLNOfflineRegion
Builds an object that implements the MLNOfflineRegion protocol. To implement multiple protocols, use addToBuilder or objc.ObjCProtocolBuilder directly. All methods that can be implemented as listeners will be.