- fetchData(Context, Date) - Static method in class fi.moprim.tmd.sdk.TmdCloudApi
-
Fetch TMD activity data from the Moprim Cloud for the defined date
- fetchData(Context, Date, int) - Static method in class fi.moprim.tmd.sdk.TmdCloudApi
-
Fetch TMD activity data from the Moprim Cloud for the defined date
- fetchData(Context, Date, boolean) - Static method in class fi.moprim.tmd.sdk.TmdCloudApi
-
Fetch TMD activity data from the Moprim Cloud for the defined date
- fetchData(Context, Date, int, boolean) - Static method in class fi.moprim.tmd.sdk.TmdCloudApi
-
Fetch TMD activity data from the Moprim Cloud for the defined date
- fetchData(Context, long, long) - Static method in class fi.moprim.tmd.sdk.TmdCloudApi
-
Fetching data from the Moprim cloud
- fetchData(Context, long, long, boolean) - Static method in class fi.moprim.tmd.sdk.TmdCloudApi
-
Fetching data from the Moprim cloud
- fetchMetadata(Context) - Static method in class fi.moprim.tmd.sdk.TmdCloudApi
-
Fetch the metadata from the Cloud.
- fetchMetadata(Context, boolean) - Static method in class fi.moprim.tmd.sdk.TmdCloudApi
-
Fetch the metadata from the Cloud.
- fetchStats(Context, int) - Static method in class fi.moprim.tmd.sdk.TmdCloudApi
-
Fetching stats from the Moprim cloud
- fi.moprim.tmd.sdk - package fi.moprim.tmd.sdk
-
This package includes classes, interfaces, and enumerations related to the TMD for our Android SDK.
- fi.moprim.tmd.sdk.data - package fi.moprim.tmd.sdk.data
-
- fi.moprim.tmd.sdk.model - package fi.moprim.tmd.sdk.model
-
This package includes model classes, interfaces, and enumerations of the TMD for our Android SDK.
- fi.moprim.tmd.sdk.plugin - package fi.moprim.tmd.sdk.plugin
-
- fi.moprim.tmd.sdk.trips - package fi.moprim.tmd.sdk.trips
-
- fi.moprim.tmd.sdk.trips.data - package fi.moprim.tmd.sdk.trips.data
-
- fi.moprim.tmd.sdk.trips.model - package fi.moprim.tmd.sdk.trips.model
-
- fi.moprim.tmd.sdk.trips.plugin - package fi.moprim.tmd.sdk.trips.plugin
-
- fi.moprim.tmd.sdk.utilities - package fi.moprim.tmd.sdk.utilities
-
- forceUpload(Context) - Method in class fi.moprim.tmd.sdk.data.TmdActivityRepository
-
Force the upload of TMD data to the Moprim Cloud.
- forceUpload(Context) - Method in class fi.moprim.tmd.sdk.trips.data.TripRepository
-
Force the upload of TMD data to the Moprim Cloud.
- fromValue(int) - Static method in enum fi.moprim.tmd.sdk.model.TmdStatus.Category
-
- generate(List<TmdActivity>) - Static method in class fi.moprim.tmd.sdk.trips.model.MapData
-
- getActivity() - Method in interface fi.moprim.tmd.sdk.model.TmdActivity
-
- getApiEndpoint() - Method in class fi.moprim.tmd.sdk.TmdConfig
-
- getApiEndpointRegions() - Method in class fi.moprim.tmd.sdk.TmdConfig
-
- getAuthority(Context) - Static method in class fi.moprim.tmd.sdk.TmdContentProvider
-
Returns the authority string for this content provider
- getAuthority(Context) - Static method in class fi.moprim.tmd.sdk.trips.TripContentProvider
-
Returns the authority string for this content provider
- getBounds() - Method in class fi.moprim.tmd.sdk.trips.model.MapData
-
- getBoundsOfActivity(TmdActivity) - Static method in class fi.moprim.tmd.sdk.trips.model.MapBounds
-
- getCallbackIntent() - Static method in class fi.moprim.tmd.sdk.TmdCloudApi
-
- getCategory() - Method in interface fi.moprim.tmd.sdk.model.TmdStatus
-
- getCleaningIntervalDays() - Method in class fi.moprim.tmd.sdk.TmdConfig
-
- getCo2() - Method in interface fi.moprim.tmd.sdk.model.TmdActivity
-
- getCo2() - Method in interface fi.moprim.tmd.sdk.model.TmdStats
-
- getCo2() - Method in interface fi.moprim.tmd.sdk.trips.model.Trip
-
The co2 produced during this trip
- getContentProviderValue() - Method in class fi.moprim.tmd.sdk.data.ContentProviderLiveData
-
- getDataPlugins() - Method in class fi.moprim.tmd.sdk.TmdConfig
-
Unmodified list of data plugins
- getDate() - Method in interface fi.moprim.tmd.sdk.model.TmdStats
-
- getDestination() - Method in interface fi.moprim.tmd.sdk.model.TmdActivity
-
- getDestination() - Method in interface fi.moprim.tmd.sdk.trips.model.Trip
-
The destination of the trip
- getDistance() - Method in interface fi.moprim.tmd.sdk.model.TmdActivity
-
- getDistance() - Method in interface fi.moprim.tmd.sdk.model.TmdStats
-
- getDistance() - Method in interface fi.moprim.tmd.sdk.trips.model.Trip
-
The distance of the trip in meters
- getDuration() - Method in interface fi.moprim.tmd.sdk.model.TmdActivity
-
- getDuration() - Method in interface fi.moprim.tmd.sdk.model.TmdStats
-
- getDuration() - Method in interface fi.moprim.tmd.sdk.model.TmdStatus
-
- getDuration() - Method in interface fi.moprim.tmd.sdk.trips.model.Trip
-
- getDuration(double) - Static method in class fi.moprim.tmd.sdk.utilities.StringUtils
-
- getDuration(double, boolean) - Static method in class fi.moprim.tmd.sdk.utilities.StringUtils
-
- getError() - Method in class fi.moprim.tmd.sdk.model.Result
-
- getError() - Method in exception fi.moprim.tmd.sdk.model.TmdException
-
- getFirstLatitude() - Method in class fi.moprim.tmd.sdk.trips.model.MapBounds
-
- getFirstLongitude() - Method in class fi.moprim.tmd.sdk.trips.model.MapBounds
-
- getFirstTimestamp() - Method in class fi.moprim.tmd.sdk.model.TmdCloudMetadata
-
- getGeojson() - Method in class fi.moprim.tmd.sdk.trips.model.MapData
-
- getIdentityPlugin() - Method in class fi.moprim.tmd.sdk.TmdConfig
-
- getIdentityPoolId() - Method in class fi.moprim.tmd.sdk.TmdConfig
-
- getInstallationId() - Method in class fi.moprim.tmd.sdk.TMD
-
Retrieve the unique application installation id of application using the SDK
- getInstance() - Static method in class fi.moprim.tmd.sdk.data.TmdActivityRepository
-
Getting an instance of the repository with default executors
- getInstance() - Static method in class fi.moprim.tmd.sdk.data.TmdStatsRepository
-
- getInstance() - Static method in class fi.moprim.tmd.sdk.TMD
-
- getInstance() - Static method in class fi.moprim.tmd.sdk.trips.data.TripRepository
-
- getLabel() - Method in interface fi.moprim.tmd.sdk.model.TmdStatus
-
- getLastActivityTimestamp() - Method in class fi.moprim.tmd.sdk.model.TmdCloudMetadata
-
- getLastLatitude() - Method in class fi.moprim.tmd.sdk.trips.model.MapBounds
-
- getLastLocationTimestamp() - Method in class fi.moprim.tmd.sdk.model.TmdCloudMetadata
-
- getLastLongitude() - Method in class fi.moprim.tmd.sdk.trips.model.MapBounds
-
- getLastModified() - Method in interface fi.moprim.tmd.sdk.model.TmdStats
-
- getLastTimestamp() - Method in class fi.moprim.tmd.sdk.model.TmdCloudMetadata
-
- getLastTimestampOfLocationUploaded() - Method in class fi.moprim.tmd.sdk.model.TmdUploadMetadata
-
Get the timestamp of the last location point that was just uploaded
- getLastTimestampOfTmdActivityUploaded() - Method in class fi.moprim.tmd.sdk.model.TmdUploadMetadata
-
Get the end timestamp of last activity that was just uploaded
- getLastTmdActivity(Context) - Method in class fi.moprim.tmd.sdk.data.TmdActivityRepository
-
- getLastTmdTimestamp() - Method in class fi.moprim.tmd.sdk.model.TmdCloudMetadata
-
- getLastTrip(Context) - Method in class fi.moprim.tmd.sdk.trips.data.TripRepository
-
Loads the last Trip data from the cloud
- getLastTrips(Context, int) - Method in class fi.moprim.tmd.sdk.trips.data.TripRepository
-
Loads the last Trip data from the cloud or the cache
- getLastUpdate() - Method in interface fi.moprim.tmd.sdk.model.TmdStats
-
- getLastUploadedLocationTimestamp() - Method in class fi.moprim.tmd.sdk.model.TmdCloudMetadata
-
- getLastUploadedTmdTimestamp() - Method in class fi.moprim.tmd.sdk.model.TmdCloudMetadata
-
- getLeg(int) - Method in interface fi.moprim.tmd.sdk.trips.model.Trip
-
- getLegs() - Method in interface fi.moprim.tmd.sdk.model.TmdStats
-
- getLegs() - Method in interface fi.moprim.tmd.sdk.trips.model.Trip
-
Get the list of legs for this trip
- getLocationPollingInterval() - Method in class fi.moprim.tmd.sdk.TmdConfig
-
- getLocationRequiredAccuracy() - Method in class fi.moprim.tmd.sdk.TmdConfig
-
- getMainMode() - Method in interface fi.moprim.tmd.sdk.trips.model.Trip
-
- getMapData() - Method in interface fi.moprim.tmd.sdk.trips.model.Trip
-
- getMaxLatitude() - Method in class fi.moprim.tmd.sdk.trips.model.MapBounds
-
- getMaxLongitude() - Method in class fi.moprim.tmd.sdk.trips.model.MapBounds
-
- getMessage() - Method in class fi.moprim.tmd.sdk.model.Result
-
- getMetadata() - Method in interface fi.moprim.tmd.sdk.model.TmdActivity
-
The metadata annotated to the TMD activity
- getMetadata() - Method in interface fi.moprim.tmd.sdk.trips.model.Trip
-
The metadata for the trip
- getMinLatitude() - Method in class fi.moprim.tmd.sdk.trips.model.MapBounds
-
- getMinLongitude() - Method in class fi.moprim.tmd.sdk.trips.model.MapBounds
-
- getMode() - Method in interface fi.moprim.tmd.sdk.model.TmdStats
-
- getNbLocationsUploaded() - Method in class fi.moprim.tmd.sdk.model.TmdUploadMetadata
-
Get the number of location data points that were uploaded
- getNbTmdActivitiesUploaded() - Method in class fi.moprim.tmd.sdk.model.TmdUploadMetadata
-
Get the number of tmd activities that were just uploaded
- getOrigin() - Method in interface fi.moprim.tmd.sdk.model.TmdActivity
-
- getOrigin() - Method in interface fi.moprim.tmd.sdk.trips.model.Trip
-
The name of the origin for the trip
- getPolyline() - Method in interface fi.moprim.tmd.sdk.model.TmdActivity
-
- getReason() - Method in interface fi.moprim.tmd.sdk.trips.model.Trip
-
The reason for the trip
- getResult() - Method in class fi.moprim.tmd.sdk.model.Result
-
- getSdkInfo() - Static method in class fi.moprim.tmd.sdk.model.SdkInfo
-
- getSize() - Method in interface fi.moprim.tmd.sdk.model.TmdStats
-
- getSize() - Method in class fi.moprim.tmd.sdk.trips.model.MapBounds
-
- getSpeed() - Method in interface fi.moprim.tmd.sdk.model.TmdActivity
-
- getStartCallbackIntent() - Method in class fi.moprim.tmd.sdk.TMD
-
- getTimestampEnd() - Method in interface fi.moprim.tmd.sdk.model.TmdActivity
-
- getTimestampEnd() - Method in interface fi.moprim.tmd.sdk.model.TmdStatus
-
- getTimestampEnd() - Method in interface fi.moprim.tmd.sdk.trips.model.Trip
-
- getTimestampStart() - Method in interface fi.moprim.tmd.sdk.model.TmdActivity
-
- getTimestampStart() - Method in interface fi.moprim.tmd.sdk.model.TmdStatus
-
- getTimestampStart() - Method in interface fi.moprim.tmd.sdk.trips.model.Trip
-
- getTmdActivities(Context, long, long) - Method in class fi.moprim.tmd.sdk.data.TmdActivityRepository
-
Loads TmdActivity data from the cloud or the cache between the selected timestamps
- getTmdActivities(Context, int) - Method in class fi.moprim.tmd.sdk.data.TmdActivityRepository
-
- getTmdActivityUri(Context) - Static method in class fi.moprim.tmd.sdk.TmdContentProvider
-
Returns the URI to retrieve TMD activity data from the provider
- getTmdActivityUri(Context, long) - Static method in class fi.moprim.tmd.sdk.TmdContentProvider
-
Returns the URI to retrieve TMD activity data from the provider
- getTmdCredentialsProvider() - Method in interface fi.moprim.tmd.sdk.plugin.IdentityPlugin
-
- getTmdStats(Context, int) - Method in class fi.moprim.tmd.sdk.data.TmdStatsRepository
-
- getTmdStatsUri(Context) - Static method in class fi.moprim.tmd.sdk.TmdContentProvider
-
Returns the URI to retrieve TMD Stats data from the provider
- getTmdStatsUri(Context, long) - Static method in class fi.moprim.tmd.sdk.TmdContentProvider
-
Returns the URI to retrieve TMD Stats data from the provider
- getTmdStatusUri(Context) - Static method in class fi.moprim.tmd.sdk.TmdContentProvider
-
Returns the URI to retrieve TMD Status data from the provider
- getTmdStatusUri(Context, long) - Static method in class fi.moprim.tmd.sdk.TmdContentProvider
-
Returns the URI to retrieve TMD Status data from the provider
- getTrips(Context, long, long) - Method in class fi.moprim.tmd.sdk.trips.data.TripRepository
-
Loads Trip data from the cloud or the cache between the selected timestamps
- getTripUri(Context) - Static method in class fi.moprim.tmd.sdk.trips.TripContentProvider
-
Returns the URI to retrieve TMD Trip data from the provider
- getTripUri(Context, long) - Static method in class fi.moprim.tmd.sdk.trips.TripContentProvider
-
Returns the URI to retrieve TMD Trip data from the provider
- getType(Uri) - Method in class fi.moprim.tmd.sdk.TmdContentProvider
-
Returns the MIME type for a specific URI
TODO add the other URIs
- getType(Uri) - Method in class fi.moprim.tmd.sdk.trips.TripContentProvider
-
Returns the MIME type for a specific URI
TODO add the other URIs
- getUploadIntervalMinutes() - Method in class fi.moprim.tmd.sdk.TmdConfig
-
- getUploadTimestamp() - Method in class fi.moprim.tmd.sdk.model.TmdUploadMetadata
-
Get the upload timestamp of the last upload
- getUUID(Context) - Method in class fi.moprim.tmd.sdk.TMD
-
- getValue() - Method in enum fi.moprim.tmd.sdk.model.TmdStatus.Category
-
- getVersionCode() - Method in class fi.moprim.tmd.sdk.model.SdkInfo
-
- getVersionName() - Method in class fi.moprim.tmd.sdk.model.SdkInfo
-
- testInit(Context, TmdConfig) - Method in class fi.moprim.tmd.sdk.TMD
-
- TMD - Class in fi.moprim.tmd.sdk
-
Use this class to initialize the TMD
TMD.init(Context, TmdConfig)
as soon as possible in your
Application
subclass
Application.onCreate()
method.
- TMD_ACTIVITY_ITEM_MIME_TYPE - Static variable in class fi.moprim.tmd.sdk.TmdContentProvider
-
MIME type for tmd activity item
- TMD_ACTIVITY_LIST_MIME_TYPE - Static variable in class fi.moprim.tmd.sdk.TmdContentProvider
-
MIME type for tmd activity list
- TMD_STATS_ITEM_MIME_TYPE - Static variable in class fi.moprim.tmd.sdk.TmdContentProvider
-
MIME type for tmd stats item
- TMD_STATS_LIST_MIME_TYPE - Static variable in class fi.moprim.tmd.sdk.TmdContentProvider
-
MIME type for tmd stats list
- TMD_TRIP_ITEM_MIME_TYPE - Static variable in class fi.moprim.tmd.sdk.trips.TripContentProvider
-
MIME type for tmd stats item
- TMD_TRIP_LIST_MIME_TYPE - Static variable in class fi.moprim.tmd.sdk.trips.TripContentProvider
-
MIME type for tmd stats list
- TmdActivity - Interface in fi.moprim.tmd.sdk.model
-
- TmdActivityRepository - Class in fi.moprim.tmd.sdk.data
-
Repository singleton module for handling TmdActivity data operations.
- TmdBackgroundOperation - Enum in fi.moprim.tmd.sdk.model
-
- TmdCallback<R> - Interface in fi.moprim.tmd.sdk.model
-
TmdCallback async operations.
- TmdCloudApi - Class in fi.moprim.tmd.sdk
-
This class offers static functions to interact with the Moprim Cloud.
- TmdCloudApi() - Constructor for class fi.moprim.tmd.sdk.TmdCloudApi
-
- TmdCloudMetadata - Class in fi.moprim.tmd.sdk.model
-
- TmdCloudMetadata(long, long, long, long, long, long, long) - Constructor for class fi.moprim.tmd.sdk.model.TmdCloudMetadata
-
- TmdCloudMetadata(Parcel) - Constructor for class fi.moprim.tmd.sdk.model.TmdCloudMetadata
-
Parcel constructor
- TmdConfig - Class in fi.moprim.tmd.sdk
-
This class embodies the core variable that are needed to initiate any TMD processes
- TmdConfig.Builder - Class in fi.moprim.tmd.sdk
-
- TmdContentProvider - Class in fi.moprim.tmd.sdk
-
The TmdContentProvider should enable access to
- TmdActivity data
- TmdStats data
- TmdStatus data (idle, etc..)
- TmdContentProvider() - Constructor for class fi.moprim.tmd.sdk.TmdContentProvider
-
- tmdError - Variable in class fi.moprim.tmd.sdk.data.Resource
-
- TmdError - Enum in fi.moprim.tmd.sdk.model
-
Enum of the possible error
- TmdException - Exception in fi.moprim.tmd.sdk.model
-
- TmdException(TmdError, String, Object...) - Constructor for exception fi.moprim.tmd.sdk.model.TmdException
-
- TmdStartReturnCode - Enum in fi.moprim.tmd.sdk.model
-
- TmdStats - Interface in fi.moprim.tmd.sdk.model
-
- TmdStatsRepository - Class in fi.moprim.tmd.sdk.data
-
- TmdStatus - Interface in fi.moprim.tmd.sdk.model
-
"0_tmd_not_running": At Tmd init, before the services start
"1_idle": TMD is active and monitoring motion
"1_recording": TMD is recording
"1_running": TMD is running locally
"1_location_permission_change_location_available"
"1_location_permission_change_location_unavailable"
"0_tmd_stopped_insufficient_permissions": TMD has stopped because location permission changed
"0_tmd_stopped_manually": TMD has been stopped manually via TMD#stop()
"0_tmd_start_failed_cause_insufficient_motion_fitness_services": TMD could not start because of a problem with Motion & Fitness service availability/permissions
"0_tmd_start_failed_cause_insufficient_location_services": TMD could not start because of a problem with Location service availability/permissions
"0_application_killed": Application was killed
"0_application_not_running": Application was not running and the reason for that is unkown
"2_unknown_event": Unknown event
- TmdStatus.Category - Enum in fi.moprim.tmd.sdk.model
-
- TmdUploadMetadata - Class in fi.moprim.tmd.sdk.model
-
A class that summarizes the results of an upload
- TmdUploadMetadata(long, int, long, int, long) - Constructor for class fi.moprim.tmd.sdk.model.TmdUploadMetadata
-
Default constructor
- TmdUploadMetadata() - Constructor for class fi.moprim.tmd.sdk.model.TmdUploadMetadata
-
Default constructor when nothing was set
- TmdUploadMetadata(Parcel) - Constructor for class fi.moprim.tmd.sdk.model.TmdUploadMetadata
-
Parcel constructor
- toString() - Method in class fi.moprim.tmd.sdk.data.Resource
-
- toString() - Method in class fi.moprim.tmd.sdk.model.Result
-
- toString() - Method in class fi.moprim.tmd.sdk.model.TmdCloudMetadata
-
- toString() - Method in class fi.moprim.tmd.sdk.model.TmdUploadMetadata
-
- toString() - Method in class fi.moprim.tmd.sdk.TmdConfig
-
- Trip - Interface in fi.moprim.tmd.sdk.trips.model
-
This interface to represent Trip.
- TripContentProvider - Class in fi.moprim.tmd.sdk.trips
-
The TmdTripContentProvider should enable access to
- Trip data
- TripContentProvider() - Constructor for class fi.moprim.tmd.sdk.trips.TripContentProvider
-
- TripPlugin - Class in fi.moprim.tmd.sdk.trips.plugin
-
- TripPlugin.Builder - Class in fi.moprim.tmd.sdk.trips.plugin
-
- TripRepository - Class in fi.moprim.tmd.sdk.trips.data
-
- truncateDate(Date, int) - Static method in class fi.moprim.tmd.sdk.utilities.DateUtils
-
- valueOf(String) - Static method in enum fi.moprim.tmd.sdk.data.RefreshMode
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum fi.moprim.tmd.sdk.data.Status
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum fi.moprim.tmd.sdk.model.TmdBackgroundOperation
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum fi.moprim.tmd.sdk.model.TmdError
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum fi.moprim.tmd.sdk.model.TmdStartReturnCode
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum fi.moprim.tmd.sdk.model.TmdStatus.Category
-
Returns the enum constant of this type with the specified name.
- values() - Static method in enum fi.moprim.tmd.sdk.data.RefreshMode
-
Returns an array containing the constants of this enum type, in
the order they are declared.
- values() - Static method in enum fi.moprim.tmd.sdk.data.Status
-
Returns an array containing the constants of this enum type, in
the order they are declared.
- values() - Static method in enum fi.moprim.tmd.sdk.model.TmdBackgroundOperation
-
Returns an array containing the constants of this enum type, in
the order they are declared.
- values() - Static method in enum fi.moprim.tmd.sdk.model.TmdError
-
Returns an array containing the constants of this enum type, in
the order they are declared.
- values() - Static method in enum fi.moprim.tmd.sdk.model.TmdStartReturnCode
-
Returns an array containing the constants of this enum type, in
the order they are declared.
- values() - Static method in enum fi.moprim.tmd.sdk.model.TmdStatus.Category
-
Returns an array containing the constants of this enum type, in
the order they are declared.