MLNSettings class

The MLNSettings object provides a global way to set SDK properties such as apiKey, backend URL, etc.

Constructors

MLNSettings()
Returns a new instance of MLNSettings constructed with the default new method.
factory
MLNSettings.castFrom(ObjCObjectBase other)
Constructs a MLNSettings that points to the same underlying object as other.
MLNSettings.castFromPointer(Pointer<ObjCObject> other, {bool retain = false, bool release = false})
Constructs a MLNSettings that wraps the given raw object pointer.

Properties

debugDescription$1 → NSString
debugDescription
no setterinherited
description$1 → NSString
description
no setterinherited
hash$1 int
hash
no setterinherited
hashCode int
The hash code for this object.
no setterinherited
isProxy bool
isProxy
no setterinherited
ref → ObjCObjectRef
finalinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
superclass$1 → ObjCObjectBase
superclass
no setterinherited

Methods

autorelease() MLNSettings
autorelease
class$1() → ObjCObjectBase
class
inherited
conformsToProtocol$1(Protocol aProtocol) bool
conformsToProtocol:
inherited
copy() → ObjCObjectBase
copy
inherited
dealloc() → void
dealloc
inherited
doesNotRecognizeSelector(Pointer<ObjCSelector> aSelector) → void
doesNotRecognizeSelector:
inherited
forwardingTargetForSelector(Pointer<ObjCSelector> aSelector) → ObjCObjectBase
forwardingTargetForSelector:
inherited
forwardInvocation(NSInvocation anInvocation) → void
forwardInvocation:
inherited
init() MLNSettings
init
isEqual(ObjCObjectBase object) bool
isEqual:
inherited
isKindOfClass(ObjCObjectBase aClass) bool
isKindOfClass:
inherited
isMemberOfClass(ObjCObjectBase aClass) bool
isMemberOfClass:
inherited
methodForSelector(Pointer<ObjCSelector> aSelector) Pointer<NativeFunction<Void Function()>>
methodForSelector:
inherited
methodSignatureForSelector(Pointer<ObjCSelector> aSelector) → NSMethodSignature
methodSignatureForSelector:
inherited
mutableCopy() → ObjCObjectBase
mutableCopy
inherited
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
performSelector(Pointer<ObjCSelector> aSelector) → ObjCObjectBase
performSelector:
inherited
performSelector$1(Pointer<ObjCSelector> aSelector, {required ObjCObjectBase withObject}) → ObjCObjectBase
performSelector:withObject:
inherited
performSelector$2(Pointer<ObjCSelector> aSelector, {required ObjCObjectBase withObject, required ObjCObjectBase withObject$1}) → ObjCObjectBase
performSelector:withObject:withObject:
inherited
release() → void
release
inherited
respondsToSelector(Pointer<ObjCSelector> aSelector) bool
respondsToSelector:
inherited
retain() MLNSettings
retain
retainCount() int
retainCount
inherited
self$1() MLNSettings
self
toString() String
A string representation of this object.
inherited
zone() Pointer<NSZone>
zone
inherited

Operators

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

Static Methods

alloc() MLNSettings
alloc
allocWithZone(Pointer<NSZone> zone) MLNSettings
allocWithZone:
getApiKey() → NSString?
The API Key used by all instances of MLNMapView in the current application. Setting this property to a value of nil has no effect.
getTileServerOptions() MLNTileServerOptions?
Tile server options
isInstance(ObjCObjectBase obj) bool
Returns whether obj is an instance of MLNSettings.
new$() MLNSettings
new
setApiKey(NSString? value) → void
The API Key used by all instances of MLNMapView in the current application. Setting this property to a value of nil has no effect.
setTileServerOptions(MLNTileServerOptions? value) → void
Tile server options
useWellKnownTileServer(MLNWellKnownTileServer tileServer) → void
Instructs the SDk to use the give tile server