MapTrip SDK Android Manual 9.8.8
Attribute Class Reference
+ Inheritance diagram for Attribute:

Public Member Functions

boolean equals (Object o)
 
native double getAsDouble ()
 
native int getAsInt ()
 
native String getAsString ()
 
native String getName ()
 
native ApiError setAsDouble (double value)
 
native ApiError setAsInt (int value)
 
native ApiError setAsString (String value)
 

Detailed Description

Attribute is a named value, used by Waypoint and ApiPolygon.

Member Function Documentation

◆ equals()

boolean equals ( Object  o)
inherited

◆ getAsDouble()

native double getAsDouble ( )

Returns
floating point value of the attribute

◆ getAsInt()

native int getAsInt ( )

Returns
int value of the attribute

◆ getAsString()

native String getAsString ( )

Returns
Value as string

◆ getName()

native String getName ( )

Returns
The name of the attribute

◆ setAsDouble()

native ApiError setAsDouble ( double  value)

◆ setAsInt()

native ApiError setAsInt ( int  value)

◆ setAsString()

native ApiError setAsString ( String  value)


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