C# Class Tango.AreaDescriptionEventListener

The Area Description event is responsible for listening the callback from Area Description import and export.
ファイルを表示 Open project: ashomk/beerpong Class Usage Examples

Public Methods

Method Description
AreaDescriptionEventListener ( ) : System

AreaDescriptionEventListener constructor. The activity result callback is registered when the listener is initialized.

Private Methods

Method Description
Register ( OnAreaDescriptionImportEventHandler importHandler, OnAreaDescriptionExportEventHandler exportHandler ) : void

Register a Unity main thread handler for the Tango Area Description event.

SendEventIfAvailable ( ) : void

Raise a Tango Area Description event if there is new data.

Unregister ( OnAreaDescriptionImportEventHandler importHandler, OnAreaDescriptionExportEventHandler exportHandler ) : void

Unregisters a Unity main thread handler for the Tango Area Description event.

_androidOnActivityResult ( int requestCode, int resultCode, AndroidJavaObject data ) : void

EventHandler for Android's on activity result.

Method Details

AreaDescriptionEventListener() public method

AreaDescriptionEventListener constructor. The activity result callback is registered when the listener is initialized.
public AreaDescriptionEventListener ( ) : System
return System