to top
Datalogic APIs
public final enum

LocationMode

extends Enum<E extends Enum<E>>
java.lang.Object
   ↳ java.lang.Enum<E extends java.lang.Enum<E>>
     ↳ com.datalogic.device.location.LocationMode

Class Overview

The LocationMode enumeration defines different location systems that can be selectively activated to help the Android LocationManager.

Summary

Enum Values
LocationMode  NETWORK  Indicates only the localization mechanism based on networks will be activated  
LocationMode  OFF  Indicates all the possible systems are turned off  
LocationMode  SENSORS  Indicates only the dedicated GPS system is activated  
LocationMode  SENSORS_AND_NETWORK  Indicates all the possible systems are turned on: both GPS sensors and network assisted localization  
Public Methods
static LocationMode valueOf(String name)
final static LocationMode[] values()
[Expand]
Inherited Methods
From class java.lang.Enum
From class java.lang.Object
From interface java.lang.Comparable

Enum Values

public static final LocationMode NETWORK

Added in revision 1

Indicates only the localization mechanism based on networks will be activated

public static final LocationMode OFF

Added in revision 1

Indicates all the possible systems are turned off

public static final LocationMode SENSORS

Added in revision 1

Indicates only the dedicated GPS system is activated

public static final LocationMode SENSORS_AND_NETWORK

Added in revision 1

Indicates all the possible systems are turned on: both GPS sensors and network assisted localization

Public Methods

public static LocationMode valueOf (String name)

Added in revision 1

public static final LocationMode[] values ()

Added in revision 1