Lines Matching refs:objectHandle
302 * @param objectHandle handle of the object to query
305 public MtpObjectInfo getObjectInfo(String deviceName, int objectHandle) {
310 return device.getObjectInfo(objectHandle);
317 * @param objectHandle handle of the object to delete
320 public boolean deleteObject(String deviceName, int objectHandle) {
325 return device.deleteObject(objectHandle);
338 * @param objectHandle the handle of the parent object to query, or zero for the storage root
341 public List<MtpObjectInfo> getObjectList(String deviceName, int storageId, int objectHandle) {
346 if (objectHandle == 0) {
348 objectHandle = 0xFFFFFFFF;
350 int[] handles = device.getObjectHandles(storageId, 0, objectHandle);
372 * @param objectHandle handle of the object to read
377 public byte[] getObject(String deviceName, int objectHandle, int objectSize) {
382 return device.getObject(objectHandle, objectSize);
389 * @param objectHandle handle of the object to read
392 public byte[] getThumbnail(String deviceName, int objectHandle) {
397 return device.getThumbnail(objectHandle);
404 * @param objectHandle handle of the object to read
410 public boolean importFile(String deviceName, int objectHandle, String destPath) {
415 return device.importFile(objectHandle, destPath);