java.lang.Object | ||
↳ | java.util.Observable | |
↳ | com.vidinoti.android.vdarsdk.VDARContext |
Represents a VDARContext fetched from the ARManager platform
Nested Classes | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
VDARContext.ContextObserverUpdateInfo | Describe the status of a current file download action on a context |
Public Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
Activate and show the content tight to this context.
| |||||||||||
Return true if the receiver is equal to the passed object.
| |||||||||||
Asynchronously download (if needed) the context file identified by its
filename.
| |||||||||||
Return the list of String representing the different filenames of the files attached to this context.
| |||||||||||
Retrieve the context thumbnail
Note that the context thumbnail is cached.
| |||||||||||
Retrieve the context thumbnail (if available) and call the observer with
the retrieved Bitmap when done.
| |||||||||||
Return the context description.
| |||||||||||
Return the high resolution image URL of this context.
| |||||||||||
Return the thumbnail image URL of this context.
| |||||||||||
Return the date at which this context was lately published and made
available to the public.
| |||||||||||
Return the name of the context
| |||||||||||
Return the notification message this context has generated.
| |||||||||||
Return the notification title this context has generated.
| |||||||||||
Return the remote ID of the context
| |||||||||||
Mark the notification generated by this context as ignored so that it doesn't show up again.
| |||||||||||
return true if the context image thumbnail has been downloaded
| |||||||||||
Stops the content if running
| |||||||||||
[Expand]
Inherited Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
From class
java.util.Observable
| |||||||||||
From class
java.lang.Object
|
Activate and show the content tight to this context. Also mark the notification as read.
Return true if the receiver is equal to the passed object. Two contexts are considered to be equal if they have the same remote ID or if they have the same local ID.
o | The object to compare the receiver with |
---|
Asynchronously download (if needed) the context file identified by its filename.
If the file has already been downloaded, the file is cached and the observer is directly called.
The filename has to be in the array getContextFiles()
otherwise a false value is returned.
The observer is called on the main UI thread.
filename | The filename of the file to download. |
---|---|
obs | The observer that will be called for progress updates and when
the download is finished. The data object of the observer is a class of type #VDARContext.ContextObserverUpdateInfo |
Return the list of String representing the different filenames of the files attached to this context.
Retrieve the context thumbnail
Note that the context thumbnail is cached. Therefore calling multiple time
this method does not trigger multiple network transfers.
Warning: You should prefer to use
getContextImageThumbnailAsynchronously(Observer)
if you
don't want to block the UI.
Retrieve the context thumbnail (if available) and call the observer with the retrieved Bitmap when done. Note that the context thumbnail is cached. Therefore calling multiple time this method does not trigger multiple network transfers.
obs | The observer to call when the image has been fetched. |
---|
Return the context description. If not description is provided, the empty string "" is returned.
Return the high resolution image URL of this context.
Return the thumbnail image URL of this context.
Return the date at which this context was lately published and made available to the public.
Return the name of the context
Return the notification message this context has generated.
Return the notification title this context has generated.
Return the remote ID of the context
Mark the notification generated by this context as ignored so that it doesn't show up again.
return true if the context image thumbnail has been downloaded