org.openintents.intents
Class IntentPOI

java.lang.Object
  extended by org.openintents.intents.IntentPOI

public class IntentPOI
extends java.lang.Object

The IntentPOI-bean represents one Point of Interest (POI) to be displayed on the AR camera view.

Version:
1.0.0-beta1
Author:
Martin Lechner, martin.lechner@mobilizy.com, www.mobilizy.com

Constructor Summary
IntentPOI(float latitude, float longitude)
          minimum constructor
IntentPOI(float latitude, float longitude, float altitude, java.lang.String name)
          default constructor
IntentPOI(float latitude, float longitude, float altitude, java.lang.String name, java.lang.String description)
          usual constructor
IntentPOI(float latitude, float longitude, float altitude, java.lang.String name, java.lang.String description, java.lang.String iconresource, java.lang.String iconuri)
          full constructor
 
Method Summary
 float getAltitude()
           
 java.lang.String getDescription()
           
 java.lang.String getIconresource()
           
 java.lang.String getIconuri()
           
 float getLatitude()
           
 float getLongitude()
           
 java.lang.String getName()
           
 void setAltitude(float altitude)
           
 void setDescription(java.lang.String description)
           
 void setIconresource(java.lang.String iconresource)
           
 void setIconuri(java.lang.String iconuri)
           
 void setLatitude(float latitude)
           
 void setLongitude(float longitude)
           
 void setName(java.lang.String name)
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

IntentPOI

public IntentPOI(float latitude,
                 float longitude)
minimum constructor

Parameters:
latitude - the latitude of the POI
longitude - the longitude of the POI

IntentPOI

public IntentPOI(float latitude,
                 float longitude,
                 float altitude,
                 java.lang.String name)
default constructor

Parameters:
latitude - the latitude of the POI
longitude - the longitude of the POI
altitude - the altitude of the POI
name - the name of the POI

IntentPOI

public IntentPOI(float latitude,
                 float longitude,
                 float altitude,
                 java.lang.String name,
                 java.lang.String description)
usual constructor

Parameters:
latitude - the latitude of the POI
longitude - the longitude of the POI
altitude - the altitude of the POI
name - the name of the POI
description - the description of the POI

IntentPOI

public IntentPOI(float latitude,
                 float longitude,
                 float altitude,
                 java.lang.String name,
                 java.lang.String description,
                 java.lang.String iconresource,
                 java.lang.String iconuri)
full constructor

Parameters:
latitude - the latitude of the POI
longitude - the longitude of the POI
altitude - the altitude of the POI
name - the name of the POI
description - the description of the POI
iconresource - the resource-name of the icon of the POI (determined by activity.getResources().getResourceName(...);
iconuri - the URI of the icon
Method Detail

getLatitude

public float getLatitude()

setLatitude

public void setLatitude(float latitude)

getLongitude

public float getLongitude()

setLongitude

public void setLongitude(float longitude)

getAltitude

public float getAltitude()

setAltitude

public void setAltitude(float altitude)

getName

public java.lang.String getName()

setName

public void setName(java.lang.String name)

getDescription

public java.lang.String getDescription()

setDescription

public void setDescription(java.lang.String description)

getIconresource

public java.lang.String getIconresource()

setIconresource

public void setIconresource(java.lang.String iconresource)

getIconuri

public java.lang.String getIconuri()

setIconuri

public void setIconuri(java.lang.String iconuri)