MapTrip Interface Android Reference Manual 9.10.1
Loading...
Searching...
No Matches
de.infoware.android.mti.Licence Class Reference

Static Public Member Functions

static native int checkMaptripLicence (String feature)
 
static native int setDeviceName (String name)
 
static native int getDeviceID ()
 
static native int getExpiryDate ()
 
static void addListener (LicenceListener listener)
 
static void removeListener (LicenceListener listener)
 
static void removeAllListeners ()
 

Detailed Description

Member Function Documentation

◆ addListener()

static void de.infoware.android.mti.Licence.addListener ( LicenceListener  listener)
static

◆ checkMaptripLicence()

static native int de.infoware.android.mti.Licence.checkMaptripLicence ( String  feature)
static

Check if MapTrip is licenced. The type of the requested licence can be passed as parameter.

Parameters
feature- the name of the feature that should be checked
Returns
Invokes callback LicenceListener.checkMaptripLicenceResult().

◆ getDeviceID()

static native int de.infoware.android.mti.Licence.getDeviceID ( )
static

Gets the device ID for the device on the licence server.

Returns
Invokes callback LicenceListener.getDeviceIDResult().

◆ getExpiryDate()

static native int de.infoware.android.mti.Licence.getExpiryDate ( )
static

Returns
Invokes callback LicenceListener.getExpiryDateResult().

◆ removeAllListeners()

static void de.infoware.android.mti.Licence.removeAllListeners ( )
static

◆ removeListener()

static void de.infoware.android.mti.Licence.removeListener ( LicenceListener  listener)
static

◆ setDeviceName()

static native int de.infoware.android.mti.Licence.setDeviceName ( String  name)
static

Sets the name for the device on the licence server.

Parameters
name- name of the device
Returns
Invokes callback LicenceListener.setDeviceNameResult().