6#include <UserEvent.idl>
173 in
Direction direction, out vector<ImageStorageMetaData> meta);
190 in
Direction direction, out vector<StorageImage> image);
The storage manager interface.
constant int ERR_ALREADY_RUNNING
The activity is already running.
StorageInformation getInformation()
get storage information
constant int ERR_INVALID_PARAM
Invalid parameter for an operation.
int getMetaData(in Webcam webcam, in long start, in int count, in Direction direction, out vector< ImageStorageMetaData > meta)
get meta data of images from storage
constant int ERR_OPERATION_NOT_SUPPORTED
The requested operation is not supported on the current storage type.
int removeImages(in Webcam webcam, in long start, in int count, in Direction direction)
remove an image of the storage
int getImages(in Webcam webcam, in long start, in int count, in Direction direction, out vector< StorageImage > image)
retrieve images from the storage
vector< Activity > getActivities()
get all running activities
int startActivity(in Webcam webcam, in int count, in int interval)
start a capture activity
StorageStatus
StorageStatus.
@ INITIALIZING
Initializing is in progress,.
@ READY
Storage is ready for usage.
vector< StorageType > getSupportedStorageTypes()
Get supported storage types.
int addImage(in Webcam webcam, in Image image, out long index)
add an image to the storage
int startActivityWithFolder(in Webcam webcam, in int count, in int interval, in string folder)
Start a capture activity, storing the images to a specific storage folder.
constant int NO_ERROR
Error codes.
constant int ERR_INIT_IN_PROGRESS
Storage information is going to be initialized.
int setSettings(in StorageSettings settings)
set storage settings
StorageSettings getSettings()
get storage settings
int stopActivity(in Webcam webcam)
stop a capture activity
constant int ERR_TOO_LARGE
The requested result is too large.
int count
nr of images to take
int done
nr of images taken
int interval
capture interval
Event: image upload to storage started.
string folderUrl
URL under which the containing folder can be accessed.
StorageMetaData metaData
meta data
StorageType type
storage type
string username
username (empty/ignored for LOCAL storage type)
string password
password (empty/ignored for LOCAL storage type)
int capacity
maximum number of stored images; obsolete, no longer used
string server
server ip, share and path (empty/ignored for LOCAL storage type)
long oldestIndex
oldest know index
long newestIndex
newest know index
int count
nr of stored images from this webcam