ReadonlyclassReadonlyhandleOptional ReadonlyidThe registry id, when the object has one. A call result does not.
False after destroy, and after the id was dropped.
Several properties in ONE JNI/JSI crossing via setAll. Object values (handles, inline specs) cannot
be JSON and go one by one, as does everything on an SDK without setAll.
ProtectedbeforeHook for a subclass that has to install a native listener before the first subscription.
The path may traverse object properties (layer.call('tileDecoder.setStyleParameter', ...)).
An object result is a MassifObject the CALLER OWNS - destroy() it, or it stays registered.
call on a worker. extract runs INSIDE the delivery, the only time an object result is alive,
e.g. (tile) => tile.getData('data'). Scalars and flat arrays need no extract.
Optionalextract: (result: MassifObject<ResultClass<C, M>>) => RThe object behind an object property, OWNED by the caller (destroy() it); null when empty.
Unlike group it hands the object over, e.g. to share a source between layers.
Defaults cover a search result; a route's instructions are
collect(fn, { countPath: 'instructionCount', method: 'getInstruction' }).
Defaults cover a search result; a route's instructions are
collect(fn, { countPath: 'instructionCount', method: 'getInstruction' }).
Subscriptions and pending async calls die with it, so no handler runs against a freed object.
Defaults for every later subscription on this object.
An empty path means the handle IS the blob.
Optionalpath: stringWGS84 [lng, lat] unless a projection is named here or on the subscription. An object whose source
projection is unknown is left unconverted: a wrong guess is worse than an unconverted number.
Optionalprojection: ProjectionNameA path the tables do not carry - the concrete class is more derived than the declared one.
Optionalprojection: ProjectionNameProtectedinvokeUntyped call for the named wrappers: they know the declaring class, call's C does not.
instanceof by class name, e.g. layer.is('massif::RasterTileLayer').
Escape hatch for paths the tables cannot type: free-form feature properties, a more derived class.
Optionalpath: stringRemoves the listener(s) for the specified event name.
Optionalcallback: anyAn optional specific event listener to remove (if omitted, all event listeners by this name will be removed).
OptionalthisArg: anyAn optional parameter which, when set, will be used to refine search of the correct event listener to be removed.
Deliberately NOT widened to string so event-name typos fail; addEventListener takes any name.
OptionalthisArg: anyAdds a listener for the specified event name, which, once fired, will remove itself.
The event listener to add. Will be called when an event of the given name is raised.
OptionalthisArg: anyAn optional parameter which, when set, will be bound as the
this context when the callback is called. Falsy values will be not be
bound.
Removes listener(s) for the specified event name.
Optionalcallback: anyAn optional parameter pointing to a specific listener. If not defined, all listeners for the event names will be removed.
OptionalthisArg: anyAn optional parameter which when set will be used to refine search of the correct callback which will be removed as event listener.
For a handler needing its own projection or delivery; on covers most cases.
Optionaloptions: SubscribeOptionsReturns a string representation of an object.
A native subscription is taken on an event's first handler and dropped with its last.