@Deprecated
public abstract class IAResourceManager
extends java.lang.Object
IARegion.getFloorPlan()
insteadConstructor and Description |
---|
IAResourceManager()
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
static IAResourceManager |
create(android.content.Context context)
Deprecated.
Constructs a new
IAResourceManager . |
static IAResourceManager |
create(android.content.Context context,
android.os.Bundle extras)
Deprecated.
Constructs a new
IAResourceManager . |
abstract IATask<IAFloorPlan> |
fetchFloorPlanWithId(java.lang.String floorPlanId)
Deprecated.
Returns a task which will load
IAFloorPlan object for given floorPlanId . |
public static IAResourceManager create(android.content.Context context)
IAResourceManager
. IndoorAtlas SDK credentials must be set
AndroidManifest.xml
.java.lang.IllegalStateException
- if SDK credentials are not properly configuredpublic static IAResourceManager create(android.content.Context context, android.os.Bundle extras)
IAResourceManager
. You may pass API credentials via extras
.
Use IALocationManager.EXTRA_API_KEY
and
IALocationManager.EXTRA_API_SECRET
as keys.java.lang.IllegalStateException
- if SDK credentials are not properly configuredpublic abstract IATask<IAFloorPlan> fetchFloorPlanWithId(java.lang.String floorPlanId)
Returns a task which will load IAFloorPlan
object for given floorPlanId
.
Note that the result data object (IAResult
IAResult.getResult()
) of the
returned IATask
may be null
even though
IAResult
IAResult.isSuccess()
returns true
. This can happen if you are
requesting IAFloorPlan
that is private and belongs to another account.
floorPlanId
- IAFloorPlan
with given
floorPlanId