NavigationApi.NavigatorListener

public static interface NavigationApi.NavigatorListener

Register a NavigatorListener with getNavigator(Activity, NavigatorListener) to be notified about the status of said Navigator. Note that only one of NavigatorListener's methods will be called, and that all calls occur on the UI thread.

Public Method Summary

abstract void
onError(int errorCode)
Indicates that an error occurred while initializing the Navigator.
abstract void
onNavigatorReady(Navigator navigator)
Indicates that a Navigator was created successfully, and returns it to the caller.

Public Methods

public abstract void onError (int errorCode)

Indicates that an error occurred while initializing the Navigator.

Parameters
errorCode one of the NavigationApi.ErrorCode constants

public abstract void onNavigatorReady (Navigator navigator)

Indicates that a Navigator was created successfully, and returns it to the caller.

Parameters
navigator the created Navigator object