For the complete documentation index, see llms.txt. This page is also available as Markdown.

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

Get notified on annotation events

Get notified on annotation modification events

Get notified on quick menu events

Get notified on tool changed event

Get notified of events fired from ToolManager in Xamarin.iOS

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

The ToolManager'sToolManagerDelegate exposes a number of delegate methods to allow a subscriber to be notified of events that are managed by the tools framework. 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.

  1. -toolManagerToolChanged: This method is called when the tool changes, for example changing the "active" tool in a toolbar.

Last updated

Was this helpful?