• Undocumented

    See more

    Declaration

    Objective-C

    @protocol MBMMapClient
    /**
     * A callback that notifies the client that the map contains updated information, and thus requires a new render to be scheduled.
     *
     * Note: this callback might be invoked from different threads and it blocks rendering, so
     * clients shall avoid performing any extra operations in this callback.
     */
    - (void)scheduleRepaint;
    - (void)scheduleTaskForTask:(nonnull MBMTask)task;
    @end

    Swift

    protocol MapClient
  • Interface for providing MTKView to the map renderer.

    See more

    Declaration

    Objective-C

    @protocol MBMMetalViewProvider

    Swift

    protocol MBMMetalViewProvider
  • Undocumented

    Declaration

    Objective-C

    NS_SWIFT_NAME(Task)
    typedef void (^MBMTask)()

    Swift

    typealias Task = () -> Void