xvsdk
3.2.0
|
Functions | |
std::shared_ptr< Device > | xv::getDevice (int fd) |
Retrieve #Device by given descriptor. Only for Android. More... | |
std::shared_ptr< Device > | xv::getDevice (int fd, std::string const &desc) |
Retrieve #Device by given descriptor. Only for Android. More... | |
bool | xv::detachDevice (int fd) |
Tell sdk device has disconnected. Only for Android. | |
std::string | xv::getDefaultDescription () |
Retrieve default device description. | |
void | xv::getUTCTIme (DateTime *utc) |
Get UTC time. | |
std::shared_ptr<Device> xv::getDevice | ( | int | fd | ) |
Retrieve #Device by given descriptor. Only for Android.
fd | : file descriptor opened by android USBManager. |
std::shared_ptr<Device> xv::getDevice | ( | int | fd, |
std::string const & | desc | ||
) |
Retrieve #Device by given descriptor. Only for Android.
fd | : file descriptor opened by android USBManager. |
desc | : load device according to feature in desc. SDK can choose device feature from desc accoring SN or version. |