Static Public Member Functions | Static Public Attributes | List of all members
com.introlab.rtabmap.TangoInitializationHelper Class Reference

Static Public Member Functions

static final boolean bindTangoService (final Context context, ServiceConnection connection)
 
static final int loadTangoSharedLibrary ()
 

Static Public Attributes

static final int ARCH_ARM32 = 2
 
static final int ARCH_ARM64 = 1
 
static final int ARCH_DEFAULT = 0
 
static final int ARCH_ERROR = -2
 
static final int ARCH_FALLBACK = -1
 
static final int ARCH_X86 = 4
 
static final int ARCH_X86_64 = 3
 

Detailed Description

Functions for simplifying the process of initializing TangoService, and function handles loading correct libtango_client_api.so.

Definition at line 34 of file TangoInitializationHelper.java.

Member Function Documentation

static final boolean com.introlab.rtabmap.TangoInitializationHelper.bindTangoService ( final Context  context,
ServiceConnection  connection 
)
inlinestatic

Only for apps using the C API: Initializes the underlying TangoService for native apps.

Returns
returns false if the device doesn't have the Tango running as Android Service. Otherwise ture.

Definition at line 50 of file TangoInitializationHelper.java.

static final int com.introlab.rtabmap.TangoInitializationHelper.loadTangoSharedLibrary ( )
inlinestatic

Load the libtango_client_api.so library based on different Tango device setup.

Returns
returns the loaded architecture id.

Definition at line 80 of file TangoInitializationHelper.java.

Member Data Documentation

final int com.introlab.rtabmap.TangoInitializationHelper.ARCH_ARM32 = 2
static

Definition at line 39 of file TangoInitializationHelper.java.

final int com.introlab.rtabmap.TangoInitializationHelper.ARCH_ARM64 = 1
static

Definition at line 38 of file TangoInitializationHelper.java.

final int com.introlab.rtabmap.TangoInitializationHelper.ARCH_DEFAULT = 0
static

Definition at line 37 of file TangoInitializationHelper.java.

final int com.introlab.rtabmap.TangoInitializationHelper.ARCH_ERROR = -2
static

Definition at line 35 of file TangoInitializationHelper.java.

final int com.introlab.rtabmap.TangoInitializationHelper.ARCH_FALLBACK = -1
static

Definition at line 36 of file TangoInitializationHelper.java.

final int com.introlab.rtabmap.TangoInitializationHelper.ARCH_X86 = 4
static

Definition at line 41 of file TangoInitializationHelper.java.

final int com.introlab.rtabmap.TangoInitializationHelper.ARCH_X86_64 = 3
static

Definition at line 40 of file TangoInitializationHelper.java.


The documentation for this class was generated from the following file:


rtabmap
Author(s): Mathieu Labbe
autogenerated on Mon Dec 14 2020 03:37:08