Events

You can take certain actions based on events and triggers.

Get notified of events fired from ToolManager in Xamarin.Android

This tutorial only applies to Xamarin.Android. See Xamarin.iOS equivalent here .

The ToolManager exposes a number of events to allow a subscriber to be notified of events fired from the tools package. There are a number of methods that allow you to modify the behaviour of the tools themselves. The methods discussed here are simple notifications, so that the app may coordinate as necessary.

See all event APIs here: ToolManager events.

Scenario

Method to use to register your callback

Get notified on touch events

Example: LongPress, SingleTapConfirmed etc.

Get notified on annotation events

Example: InterceptAnnotationHandling

Get notified on annotation modification events

Example: AnnotationsAdded, AnnotationsModified, AnnotationsRemoved etc.

Get notified on quick menu events

Example: QuickMenuClicked

Get notified on tool changed event

ToolChanged

Did you find this helpful?

Trial setup questions?

Ask experts on Discord

Need other help?

Contact Support

Pricing or product questions?

Contact Sales