-
Notifications
You must be signed in to change notification settings - Fork 18
Class ResourceManager
ResourceManager class is used for working with images, user files and events.
Referenced from: NavigineSdk.
public void loadImage(String imageId, ResourceListener resourceListener)
Function is used for loading image from storage using its id and resource listener callback, where you will get loaded image.
-
imageId
— image id which could be get from Sublocation, Venue, etc. -
resourceListener
— ResourceListener class element.
public String publishUserEvent(String userEvent)
Function is used for uploading user message to the server and returns randomly generated tag using which you can find your uploaded message.
-
userEvent
— users' message which will be uploaded to the server.
Returns randomly generated tag associated with your message and using which you can find your message on server.
public void uploadUserFile(String path, ResourceUploadListener resourceUploadListener)
Function is used for uploading user file to the server and will notify in listener about upload status. Size of file should be less than 10 MB.
-
path
— path to the user file on your system. -
resourceUploadListener
— ResourceUploadListener class element.
public ArrayList<String> getLogsList()
Function is used for getting the names of log files recorded using NavigationManager.
Returns the list of log files names.
public void removeLogFile(String name)
Function is used for removing the log by name.
-
name
— name of the log file.
public void uploadLogFile(String name, ResourceUploadListener resourceUploadListener)
Function is used for uploading log file to the server and will notify about loading status using the provided listener.
-
name
— name of the log file. -
resourceUploadListener
— ResourceUploadListener class element.
Tutorials
Classes
- NavigineSdk
- LocationListManager
- LocationManager
- NavigationManager
- RouteManager
- ZoneManager
- NotificationManager
- MeasurementManager
- LocationEditManager
- ResourceManager
- Location
- Sublocation
- Category
- Venue
- Zone
- Beacon
- Eddystone
- Wifi
- LocationView
- LocationViewController
- CircleMapObject
- PolylineMapObject
- IconMapObject
- TouchInput
- ScaleResponder
- PanResponder
- LongPressResponder
- DoubleTapResponder
- TapResponder
- LocationListListener
- LocationListener
- PositionListener
- RouteListener
- ZoneListener
- NotificationListener
- LocationEditListener
- MeasurementListener
- ResourceListener
- ResourceUploadListener
- Notification
- Position
- SignalMeasurement
- SensorMeasurement
- Image
- RoutePath
- RouteEvent
- LocationPoint
- LocationInfo
- BitmapRegionDecoder