Skip to content

//sdk-realtime/me.oriient.ipssdk.ips/IPSCore

IPSCore

[androidJvm]\ open class IPSCore

This class represents the Indoor Positioning System (IPS) Core Client. It is the element which exposes the functionality which is common to all IPS services.

Since

2.2.0

Types

Name Summary
ConnectionState [androidJvm]
@Retention(value = RetentionPolicy.SOURCE)
annotation class ConnectionState
This IntDef represents the network connection state of the IPS engine.

Functions

Name Summary
addConnectionStateListener [androidJvm]
open fun addConnectionStateListener(@NonNulllistener: IPSConnectionStateListener)
A method for adding a listener to receive changes in the ConnectionState in real time.
clearAllCaches [androidJvm]
open fun clearAllCaches(listener: IPSCompletionListener)
A method to clear the SDK caches: maps, buildings, logs and uploading cache.
createCoordinatesConverter [androidJvm]
@Nullable
open fun createCoordinatesConverter(@NonNullbuildingId: String, @NonNulllistener: IPSCoordinatesConverterListener): IPSCancelable
Creates a coordinate converter between Oriient coordinates and client coordinates for a specific building.
describeConnectionState [androidJvm]
@NonNull
open fun describeConnectionState(state: Int): String
This method returns a String describing a IPSCore.ConnectionState.
getBuildingByClientId [androidJvm]
@Nullable
open fun getBuildingByClientId(@NonNullclientBuildingId: String, @NonNulllistener: IPSBuildingListener): IPSCancelable
A method for receiving an me.oriient.ipssdk.api.models.IPSBuilding object using the building's client id.
getBuildingById [androidJvm]
@Nullable
open fun getBuildingById(@NonNullid: String, @NonNulllistener: IPSBuildingListener): IPSCancelable
A method for receiving an me.oriient.ipssdk.api.models.IPSBuilding object using the building's oriient id.
getBuildingLayout [androidJvm]
@Nullable
open fun getBuildingLayout(@NonNullbuildingId: String, @NonNulllistener: IPSListener<IPSBuildingLayout>): IPSCancelable
Retrieves the layout for a building with the specified building ID.
getClientBuildingId [androidJvm]
@Nullable
open fun getClientBuildingId(@NonNulloriientBuildingId: String, @NonNulllistener: IPSListener<String>): IPSCancelable
A method for receiving the client ID of a building.
getConnectionState [androidJvm]
open fun getConnectionState(): Int
getFloorImageDataById [androidJvm]
@Nullable
open fun getFloorImageDataById(@NonNullbuildingId: String, @NonNullfloorId: String, @NonNulllistener: IPSListener<IPSFloorImageData>): IPSCancelable
A method for receiving an IPSFloorImageData object.
getIPSClientId [androidJvm]
@NonNull
open fun getIPSClientId(): String
getLoggedInUser [androidJvm]
@Nullable
open fun getLoggedInUser(): String
getMissingSensors [androidJvm]
@NonNull
open fun getMissingSensors(): List<Integer>
getSpace [androidJvm]
@Nullable
open fun getSpace(): IPSSpace
getUserSessionId [androidJvm]
@Nullable
open fun getUserSessionId(): String
getVersionName [androidJvm]
@NonNull
open fun getVersionName(): String
login [androidJvm]
open fun login(@NonNullapiKey: String, @Nullablelistener: IPSLoginListener)
open fun login(@NullableuserID: String, @NonNullapiKey: String, @NullableipsDomain: String, @Nullablelistener: IPSLoginListener)
open fun login(@NullableuserID: String, @NonNullapiKey: String, @NullableipsDomain: String, @NonNulldeviceId: String, @Nullablelistener: IPSLoginListener)
This method performs the login operation.
loginWithToken [androidJvm]
open fun loginWithToken(@NonNullaccessToken: String, accessTokenExpiration: Long, @NonNullrefreshToken: String, refreshTokenExpiration: Long, @NullableipsDomain: String, @NullabledeviceId: String, @Nullablelistener: IPSLoginListener)
logout [androidJvm]
open fun logout(@Nullablelistener: IPSLogoutListener)
This method performs the logout operation.
registerApplicationEvent [androidJvm]
open fun registerApplicationEvent(applicationEvent: Int)
removeConnectionStateListener [androidJvm]
open fun removeConnectionStateListener(@NonNulllistener: IPSConnectionStateListener)
A method for removing a ConnectionState listener.
searchBuildingsByLocation [androidJvm]
@Nullable
open fun searchBuildingsByLocation(@NonNulllocation: Location, @Nullablelistener: IPSBuildingsSearchListener): IPSCancelable
@Nullable
open fun searchBuildingsByLocation(@NonNulllocation: Location, radiusMeters: Float, @Nullablelistener: IPSBuildingsSearchListener): IPSCancelable
@Nullable
open fun searchBuildingsByLocation(latitude: Float, longitude: Float, @Nullablelistener: IPSBuildingsSearchListener): IPSCancelable
@Nullable
open fun searchBuildingsByLocation(latitude: Float, longitude: Float, radiusMeters: Float, @Nullablelistener: IPSBuildingsSearchListener): IPSCancelable
A method for searching buildings located in proximity to a specific location.
searchBuildingsByName [androidJvm]
@Nullable
open fun searchBuildingsByName(@NonNullname: String, @Nullablelistener: IPSBuildingsSearchListener): IPSCancelable
A method for searching buildings by name.
setCrashReportsEnrichment [androidJvm]
open fun setCrashReportsEnrichment(enabled: Boolean)
Enables enrichment of the host app's crash reports with Oriient SDK context.
setSpaceId [androidJvm]
open fun setSpaceId(@NonNullid: String, @Nullablelistener: IPSCompletionListener)
unavailableFeatures [androidJvm]
open fun unavailableFeatures(): List<IPSUnavailableFeature>
This method provides the list of the SDK features unavailable for the current device, usually due to its hardware limitations.
userDidEngageWithFeature [androidJvm]
open fun userDidEngageWithFeature(feature: String)
Use this API to indicate that a user has engaged with a location-based feature.