MapKit Mobile SDK

MRTDataProviderWithId

protocol MRTDataProviderWithId : NSObjectProtocol

Provides any data.

Summary

Instance methods

func providerId() -> String
Use the same id for the identical data, to prevent repeated loading of the same data into RAM and VRAM

func load() -> Data
Returns data

Instance methods

providerId()

func providerId() -> String

Use the same id for the identical data, to prevent repeated loading of the same data into RAM and VRAM.

This method may be called on any thread. Its implementation must be thread-safe.


load()

func load() -> Data

Returns data.

This method will be called on a background thread.