Home > @magiclane/maps-sdk > EventHandler

EventHandler interface

Interface for receiving events from the SDK

Core

Signature:

export interface EventHandler 

Methods

Method

Description

dispose()

Cleans up any resources.

handleEvent(args)

Method called when an event is triggered from the native side.

Should not be called by the user.