Java 3D Sidebar
 All Classes Namespaces Functions Variables
SidebarConnection.SidebarConnectionListener Interface Reference

Interface definition for a callback to be invoked when connection process is finished. More...

Public Member Functions

void onSidebarConnected (ConnectionResult result, Sidebar sidebar)
 Called when sidebar connection process was finished. More...
 
void onSidebarDisconnected ()
 Called when connection to sidebar service was broken unexpectedly. More...
 

Detailed Description

Interface definition for a callback to be invoked when connection process is finished.

See also
SidebarConnection::connect(Context, NaviType, String, SidebarConnectionListener)

Member Function Documentation

void onSidebarConnected ( ConnectionResult  result,
Sidebar  sidebar 
)

Called when sidebar connection process was finished.

Parameters
resultresult of connection process
sidebarinstance of Sidebar class or null if connection failed
void onSidebarDisconnected ( )

Called when connection to sidebar service was broken unexpectedly.

Referenced by SidebarConnection.disconnect().