| 1 |
|
| 2 |
|
| 3 |
|
| 4 |
|
| 5 |
|
| 6 |
|
| 7 |
|
| 8 |
|
| 9 |
|
| 10 |
|
| 11 |
|
| 12 |
|
| 13 |
|
| 14 |
|
| 15 |
|
| 16 |
|
| 17 |
package android.mtp; |
| 18 |
|
| 19 |
|
| 20 |
|
| 21 |
|
| 22 |
public final class MtpConstants { |
| 23 |
|
| 24 |
|
| 25 |
|
| 26 |
public static final int TYPE_UNDEFINED = 0x0000; |
| 27 |
|
| 28 |
public static final int TYPE_INT8 = 0x0001; |
| 29 |
|
| 30 |
public static final int TYPE_UINT8 = 0x0002; |
| 31 |
|
| 32 |
public static final int TYPE_INT16 = 0x0003; |
| 33 |
|
| 34 |
public static final int TYPE_UINT16 = 0x0004; |
| 35 |
|
| 36 |
public static final int TYPE_INT32 = 0x0005; |
| 37 |
|
| 38 |
public static final int TYPE_UINT32 = 0x0006; |
| 39 |
|
| 40 |
public static final int TYPE_INT64 = 0x0007; |
| 41 |
|
| 42 |
public static final int TYPE_UINT64 = 0x0008; |
| 43 |
|
| 44 |
public static final int TYPE_INT128 = 0x0009; |
| 45 |
|
| 46 |
public static final int TYPE_UINT128 = 0x000A; |
| 47 |
|
| 48 |
public static final int TYPE_AINT8 = 0x4001; |
| 49 |
|
| 50 |
public static final int TYPE_AUINT8 = 0x4002; |
| 51 |
|
| 52 |
public static final int TYPE_AINT16 = 0x4003; |
| 53 |
|
| 54 |
public static final int TYPE_AUINT16 = 0x4004; |
| 55 |
|
| 56 |
public static final int TYPE_AINT32 = 0x4005; |
| 57 |
|
| 58 |
public static final int TYPE_AUINT32 = 0x4006; |
| 59 |
|
| 60 |
public static final int TYPE_AINT64 = 0x4007; |
| 61 |
|
| 62 |
public static final int TYPE_AUINT64 = 0x4008; |
| 63 |
|
| 64 |
public static final int TYPE_AINT128 = 0x4009; |
| 65 |
|
| 66 |
public static final int TYPE_AUINT128 = 0x400A; |
| 67 |
|
| 68 |
public static final int TYPE_STR = 0xFFFF; |
| 69 |
|
| 70 |
|
| 71 |
|
| 72 |
public static final int RESPONSE_UNDEFINED = 0x2000; |
| 73 |
|
| 74 |
public static final int RESPONSE_OK = 0x2001; |
| 75 |
|
| 76 |
public static final int RESPONSE_GENERAL_ERROR = 0x2002; |
| 77 |
|
| 78 |
public static final int RESPONSE_SESSION_NOT_OPEN = 0x2003; |
| 79 |
|
| 80 |
public static final int RESPONSE_INVALID_TRANSACTION_ID = 0x2004; |
| 81 |
|
| 82 |
public static final int RESPONSE_OPERATION_NOT_SUPPORTED = 0x2005; |
| 83 |
|
| 84 |
public static final int RESPONSE_PARAMETER_NOT_SUPPORTED = 0x2006; |
| 85 |
|
| 86 |
public static final int RESPONSE_INCOMPLETE_TRANSFER = 0x2007; |
| 87 |
|
| 88 |
public static final int RESPONSE_INVALID_STORAGE_ID = 0x2008; |
| 89 |
|
| 90 |
public static final int RESPONSE_INVALID_OBJECT_HANDLE = 0x2009; |
| 91 |
|
| 92 |
public static final int RESPONSE_DEVICE_PROP_NOT_SUPPORTED = 0x200A; |
| 93 |
|
| 94 |
public static final int RESPONSE_INVALID_OBJECT_FORMAT_CODE = 0x200B; |
| 95 |
|
| 96 |
public static final int RESPONSE_STORAGE_FULL = 0x200C; |
| 97 |
|
| 98 |
public static final int RESPONSE_OBJECT_WRITE_PROTECTED = 0x200D; |
| 99 |
|
| 100 |
public static final int RESPONSE_STORE_READ_ONLY = 0x200E; |
| 101 |
|
| 102 |
public static final int RESPONSE_ACCESS_DENIED = 0x200F; |
| 103 |
|
| 104 |
public static final int RESPONSE_NO_THUMBNAIL_PRESENT = 0x2010; |
| 105 |
|
| 106 |
public static final int RESPONSE_SELF_TEST_FAILED = 0x2011; |
| 107 |
|
| 108 |
public static final int RESPONSE_PARTIAL_DELETION = 0x2012; |
| 109 |
|
| 110 |
public static final int RESPONSE_STORE_NOT_AVAILABLE = 0x2013; |
| 111 |
|
| 112 |
public static final int RESPONSE_SPECIFICATION_BY_FORMAT_UNSUPPORTED = 0x2014; |
| 113 |
|
| 114 |
public static final int RESPONSE_NO_VALID_OBJECT_INFO = 0x2015; |
| 115 |
|
| 116 |
public static final int RESPONSE_INVALID_CODE_FORMAT = 0x2016; |
| 117 |
|
| 118 |
public static final int RESPONSE_UNKNOWN_VENDOR_CODE = 0x2017; |
| 119 |
|
| 120 |
public static final int RESPONSE_CAPTURE_ALREADY_TERMINATED = 0x2018; |
| 121 |
|
| 122 |
public static final int RESPONSE_DEVICE_BUSY = 0x2019; |
| 123 |
|
| 124 |
public static final int RESPONSE_INVALID_PARENT_OBJECT = 0x201A; |
| 125 |
|
| 126 |
public static final int RESPONSE_INVALID_DEVICE_PROP_FORMAT = 0x201B; |
| 127 |
|
| 128 |
public static final int RESPONSE_INVALID_DEVICE_PROP_VALUE = 0x201C; |
| 129 |
|
| 130 |
public static final int RESPONSE_INVALID_PARAMETER = 0x201D; |
| 131 |
|
| 132 |
public static final int RESPONSE_SESSION_ALREADY_OPEN = 0x201E; |
| 133 |
|
| 134 |
public static final int RESPONSE_TRANSACTION_CANCELLED = 0x201F; |
| 135 |
|
| 136 |
public static final int RESPONSE_SPECIFICATION_OF_DESTINATION_UNSUPPORTED = 0x2020; |
| 137 |
|
| 138 |
public static final int RESPONSE_INVALID_OBJECT_PROP_CODE = 0xA801; |
| 139 |
|
| 140 |
public static final int RESPONSE_INVALID_OBJECT_PROP_FORMAT = 0xA802; |
| 141 |
|
| 142 |
public static final int RESPONSE_INVALID_OBJECT_PROP_VALUE = 0xA803; |
| 143 |
|
| 144 |
public static final int RESPONSE_INVALID_OBJECT_REFERENCE = 0xA804; |
| 145 |
|
| 146 |
public static final int RESPONSE_GROUP_NOT_SUPPORTED = 0xA805; |
| 147 |
|
| 148 |
public static final int RESPONSE_INVALID_DATASET = 0xA806; |
| 149 |
|
| 150 |
public static final int RESPONSE_SPECIFICATION_BY_GROUP_UNSUPPORTED = 0xA807; |
| 151 |
|
| 152 |
public static final int RESPONSE_SPECIFICATION_BY_DEPTH_UNSUPPORTED = 0xA808; |
| 153 |
|
| 154 |
public static final int RESPONSE_OBJECT_TOO_LARGE = 0xA809; |
| 155 |
|
| 156 |
public static final int RESPONSE_OBJECT_PROP_NOT_SUPPORTED = 0xA80A; |
| 157 |
|
| 158 |
|
| 159 |
|
| 160 |
public static final int FORMAT_UNDEFINED = 0x3000; |
| 161 |
|
| 162 |
public static final int FORMAT_ASSOCIATION = 0x3001; |
| 163 |
|
| 164 |
public static final int FORMAT_SCRIPT = 0x3002; |
| 165 |
|
| 166 |
public static final int FORMAT_EXECUTABLE = 0x3003; |
| 167 |
|
| 168 |
public static final int FORMAT_TEXT = 0x3004; |
| 169 |
|
| 170 |
public static final int FORMAT_HTML = 0x3005; |
| 171 |
|
| 172 |
public static final int FORMAT_DPOF = 0x3006; |
| 173 |
|
| 174 |
public static final int FORMAT_AIFF = 0x3007; |
| 175 |
|
| 176 |
public static final int FORMAT_WAV = 0x3008; |
| 177 |
|
| 178 |
public static final int FORMAT_MP3 = 0x3009; |
| 179 |
|
| 180 |
public static final int FORMAT_AVI = 0x300A; |
| 181 |
|
| 182 |
public static final int FORMAT_MPEG = 0x300B; |
| 183 |
|
| 184 |
public static final int FORMAT_ASF = 0x300C; |
| 185 |
|
| 186 |
|
| 187 |
|
| 188 |
|
| 189 |
|
| 190 |
|
| 191 |
public static final int FORMAT_DEFINED = 0x3800; |
| 192 |
|
| 193 |
public static final int FORMAT_EXIF_JPEG = 0x3801; |
| 194 |
|
| 195 |
public static final int FORMAT_TIFF_EP = 0x3802; |
| 196 |
|
| 197 |
public static final int FORMAT_BMP = 0x3804; |
| 198 |
|
| 199 |
public static final int FORMAT_GIF = 0x3807; |
| 200 |
|
| 201 |
public static final int FORMAT_JFIF = 0x3808; |
| 202 |
|
| 203 |
public static final int FORMAT_PICT = 0x380A; |
| 204 |
|
| 205 |
public static final int FORMAT_PNG = 0x380B; |
| 206 |
|
| 207 |
public static final int FORMAT_TIFF = 0x380D; |
| 208 |
|
| 209 |
public static final int FORMAT_JP2 = 0x380F; |
| 210 |
|
| 211 |
public static final int FORMAT_JPX = 0x3810; |
| 212 |
|
| 213 |
public static final int FORMAT_DNG = 0x3811; |
| 214 |
|
| 215 |
public static final int FORMAT_HEIF = 0x3812; |
| 216 |
|
| 217 |
public static final int FORMAT_UNDEFINED_FIRMWARE = 0xB802; |
| 218 |
|
| 219 |
public static final int FORMAT_WINDOWS_IMAGE_FORMAT = 0xB881; |
| 220 |
|
| 221 |
public static final int FORMAT_UNDEFINED_AUDIO = 0xB900; |
| 222 |
|
| 223 |
public static final int FORMAT_WMA = 0xB901; |
| 224 |
|
| 225 |
public static final int FORMAT_OGG = 0xB902; |
| 226 |
|
| 227 |
public static final int FORMAT_AAC = 0xB903; |
| 228 |
|
| 229 |
public static final int FORMAT_AUDIBLE = 0xB904; |
| 230 |
|
| 231 |
public static final int FORMAT_FLAC = 0xB906; |
| 232 |
|
| 233 |
public static final int FORMAT_UNDEFINED_VIDEO = 0xB980; |
| 234 |
|
| 235 |
public static final int FORMAT_WMV = 0xB981; |
| 236 |
|
| 237 |
public static final int FORMAT_MP4_CONTAINER = 0xB982; |
| 238 |
|
| 239 |
public static final int FORMAT_MP2 = 0xB983; |
| 240 |
|
| 241 |
public static final int FORMAT_3GP_CONTAINER = 0xB984; |
| 242 |
|
| 243 |
public static final int FORMAT_UNDEFINED_COLLECTION = 0xBA00; |
| 244 |
|
| 245 |
public static final int FORMAT_ABSTRACT_MULTIMEDIA_ALBUM = 0xBA01; |
| 246 |
|
| 247 |
public static final int FORMAT_ABSTRACT_IMAGE_ALBUM = 0xBA02; |
| 248 |
|
| 249 |
public static final int FORMAT_ABSTRACT_AUDIO_ALBUM = 0xBA03; |
| 250 |
|
| 251 |
public static final int FORMAT_ABSTRACT_VIDEO_ALBUM = 0xBA04; |
| 252 |
|
| 253 |
public static final int FORMAT_ABSTRACT_AV_PLAYLIST = 0xBA05; |
| 254 |
|
| 255 |
public static final int FORMAT_ABSTRACT_AUDIO_PLAYLIST = 0xBA09; |
| 256 |
|
| 257 |
public static final int FORMAT_ABSTRACT_VIDEO_PLAYLIST = 0xBA0A; |
| 258 |
|
| 259 |
public static final int FORMAT_ABSTRACT_MEDIACAST = 0xBA0B; |
| 260 |
|
| 261 |
public static final int FORMAT_WPL_PLAYLIST = 0xBA10; |
| 262 |
|
| 263 |
public static final int FORMAT_M3U_PLAYLIST = 0xBA11; |
| 264 |
|
| 265 |
public static final int FORMAT_MPL_PLAYLIST = 0xBA12; |
| 266 |
|
| 267 |
public static final int FORMAT_ASX_PLAYLIST = 0xBA13; |
| 268 |
|
| 269 |
public static final int FORMAT_PLS_PLAYLIST = 0xBA14; |
| 270 |
|
| 271 |
public static final int FORMAT_UNDEFINED_DOCUMENT = 0xBA80; |
| 272 |
|
| 273 |
public static final int FORMAT_ABSTRACT_DOCUMENT = 0xBA81; |
| 274 |
|
| 275 |
public static final int FORMAT_XML_DOCUMENT = 0xBA82; |
| 276 |
|
| 277 |
public static final int FORMAT_MS_WORD_DOCUMENT = 0xBA83; |
| 278 |
|
| 279 |
public static final int FORMAT_MS_EXCEL_SPREADSHEET = 0xBA85; |
| 280 |
|
| 281 |
public static final int FORMAT_MS_POWERPOINT_PRESENTATION = 0xBA86; |
| 282 |
|
| 283 |
|
| 284 |
|
| 285 |
|
| 286 |
|
| 287 |
|
| 288 |
|
| 289 |
|
| 290 |
public static boolean isAbstractObject(int format) { |
| 291 |
switch (format) { |
| 292 |
case FORMAT_ABSTRACT_MULTIMEDIA_ALBUM: |
| 293 |
case FORMAT_ABSTRACT_IMAGE_ALBUM: |
| 294 |
case FORMAT_ABSTRACT_AUDIO_ALBUM: |
| 295 |
case FORMAT_ABSTRACT_VIDEO_ALBUM: |
| 296 |
case FORMAT_ABSTRACT_AV_PLAYLIST: |
| 297 |
case FORMAT_ABSTRACT_AUDIO_PLAYLIST: |
| 298 |
case FORMAT_ABSTRACT_VIDEO_PLAYLIST: |
| 299 |
case FORMAT_ABSTRACT_MEDIACAST: |
| 300 |
case FORMAT_ABSTRACT_DOCUMENT: |
| 301 |
return true; |
| 302 |
default: |
| 303 |
return false; |
| 304 |
} |
| 305 |
} |
| 306 |
|
| 307 |
|
| 308 |
|
| 309 |
public static final int PROPERTY_STORAGE_ID = 0xDC01; |
| 310 |
|
| 311 |
public static final int PROPERTY_OBJECT_FORMAT = 0xDC02; |
| 312 |
|
| 313 |
public static final int PROPERTY_PROTECTION_STATUS = 0xDC03; |
| 314 |
|
| 315 |
public static final int PROPERTY_OBJECT_SIZE = 0xDC04; |
| 316 |
|
| 317 |
public static final int PROPERTY_ASSOCIATION_TYPE = 0xDC05; |
| 318 |
|
| 319 |
public static final int PROPERTY_ASSOCIATION_DESC = 0xDC06; |
| 320 |
|
| 321 |
public static final int PROPERTY_OBJECT_FILE_NAME = 0xDC07; |
| 322 |
|
| 323 |
public static final int PROPERTY_DATE_CREATED = 0xDC08; |
| 324 |
|
| 325 |
public static final int PROPERTY_DATE_MODIFIED = 0xDC09; |
| 326 |
|
| 327 |
public static final int PROPERTY_KEYWORDS = 0xDC0A; |
| 328 |
|
| 329 |
public static final int PROPERTY_PARENT_OBJECT = 0xDC0B; |
| 330 |
|
| 331 |
public static final int PROPERTY_ALLOWED_FOLDER_CONTENTS = 0xDC0C; |
| 332 |
|
| 333 |
public static final int PROPERTY_HIDDEN = 0xDC0D; |
| 334 |
|
| 335 |
public static final int PROPERTY_SYSTEM_OBJECT = 0xDC0E; |
| 336 |
|
| 337 |
public static final int PROPERTY_PERSISTENT_UID = 0xDC41; |
| 338 |
|
| 339 |
public static final int PROPERTY_SYNC_ID = 0xDC42; |
| 340 |
|
| 341 |
public static final int PROPERTY_PROPERTY_BAG = 0xDC43; |
| 342 |
|
| 343 |
public static final int PROPERTY_NAME = 0xDC44; |
| 344 |
|
| 345 |
public static final int PROPERTY_CREATED_BY = 0xDC45; |
| 346 |
|
| 347 |
public static final int PROPERTY_ARTIST = 0xDC46; |
| 348 |
|
| 349 |
public static final int PROPERTY_DATE_AUTHORED = 0xDC47; |
| 350 |
|
| 351 |
public static final int PROPERTY_DESCRIPTION = 0xDC48; |
| 352 |
|
| 353 |
public static final int PROPERTY_URL_REFERENCE = 0xDC49; |
| 354 |
|
| 355 |
public static final int PROPERTY_LANGUAGE_LOCALE = 0xDC4A; |
| 356 |
|
| 357 |
public static final int PROPERTY_COPYRIGHT_INFORMATION = 0xDC4B; |
| 358 |
|
| 359 |
public static final int PROPERTY_SOURCE = 0xDC4C; |
| 360 |
|
| 361 |
public static final int PROPERTY_ORIGIN_LOCATION = 0xDC4D; |
| 362 |
|
| 363 |
public static final int PROPERTY_DATE_ADDED = 0xDC4E; |
| 364 |
|
| 365 |
public static final int PROPERTY_NON_CONSUMABLE = 0xDC4F; |
| 366 |
|
| 367 |
public static final int PROPERTY_CORRUPT_UNPLAYABLE = 0xDC50; |
| 368 |
|
| 369 |
public static final int PROPERTY_PRODUCER_SERIAL_NUMBER = 0xDC51; |
| 370 |
|
| 371 |
public static final int PROPERTY_REPRESENTATIVE_SAMPLE_FORMAT = 0xDC81; |
| 372 |
|
| 373 |
public static final int PROPERTY_REPRESENTATIVE_SAMPLE_SIZE = 0xDC82; |
| 374 |
|
| 375 |
public static final int PROPERTY_REPRESENTATIVE_SAMPLE_HEIGHT = 0xDC83; |
| 376 |
|
| 377 |
public static final int PROPERTY_REPRESENTATIVE_SAMPLE_WIDTH = 0xDC84; |
| 378 |
|
| 379 |
public static final int PROPERTY_REPRESENTATIVE_SAMPLE_DURATION = 0xDC85; |
| 380 |
|
| 381 |
public static final int PROPERTY_REPRESENTATIVE_SAMPLE_DATA = 0xDC86; |
| 382 |
|
| 383 |
public static final int PROPERTY_WIDTH = 0xDC87; |
| 384 |
|
| 385 |
public static final int PROPERTY_HEIGHT = 0xDC88; |
| 386 |
|
| 387 |
public static final int PROPERTY_DURATION = 0xDC89; |
| 388 |
|
| 389 |
public static final int PROPERTY_RATING = 0xDC8A; |
| 390 |
|
| 391 |
public static final int PROPERTY_TRACK = 0xDC8B; |
| 392 |
|
| 393 |
public static final int PROPERTY_GENRE = 0xDC8C; |
| 394 |
|
| 395 |
public static final int PROPERTY_CREDITS = 0xDC8D; |
| 396 |
|
| 397 |
public static final int PROPERTY_LYRICS = 0xDC8E; |
| 398 |
|
| 399 |
public static final int PROPERTY_SUBSCRIPTION_CONTENT_ID = 0xDC8F; |
| 400 |
|
| 401 |
public static final int PROPERTY_PRODUCED_BY = 0xDC90; |
| 402 |
|
| 403 |
public static final int PROPERTY_USE_COUNT = 0xDC91; |
| 404 |
|
| 405 |
public static final int PROPERTY_SKIP_COUNT = 0xDC92; |
| 406 |
|
| 407 |
public static final int PROPERTY_LAST_ACCESSED = 0xDC93; |
| 408 |
|
| 409 |
public static final int PROPERTY_PARENTAL_RATING = 0xDC94; |
| 410 |
|
| 411 |
public static final int PROPERTY_META_GENRE = 0xDC95; |
| 412 |
|
| 413 |
public static final int PROPERTY_COMPOSER = 0xDC96; |
| 414 |
|
| 415 |
public static final int PROPERTY_EFFECTIVE_RATING = 0xDC97; |
| 416 |
|
| 417 |
public static final int PROPERTY_SUBTITLE = 0xDC98; |
| 418 |
|
| 419 |
public static final int PROPERTY_ORIGINAL_RELEASE_DATE = 0xDC99; |
| 420 |
|
| 421 |
public static final int PROPERTY_ALBUM_NAME = 0xDC9A; |
| 422 |
|
| 423 |
public static final int PROPERTY_ALBUM_ARTIST = 0xDC9B; |
| 424 |
|
| 425 |
public static final int PROPERTY_MOOD = 0xDC9C; |
| 426 |
|
| 427 |
public static final int PROPERTY_DRM_STATUS = 0xDC9D; |
| 428 |
|
| 429 |
public static final int PROPERTY_SUB_DESCRIPTION = 0xDC9E; |
| 430 |
|
| 431 |
public static final int PROPERTY_IS_CROPPED = 0xDCD1; |
| 432 |
|
| 433 |
public static final int PROPERTY_IS_COLOUR_CORRECTED = 0xDCD2; |
| 434 |
|
| 435 |
public static final int PROPERTY_IMAGE_BIT_DEPTH = 0xDCD3; |
| 436 |
|
| 437 |
public static final int PROPERTY_F_NUMBER = 0xDCD4; |
| 438 |
|
| 439 |
public static final int PROPERTY_EXPOSURE_TIME = 0xDCD5; |
| 440 |
|
| 441 |
public static final int PROPERTY_EXPOSURE_INDEX = 0xDCD6; |
| 442 |
|
| 443 |
public static final int PROPERTY_TOTAL_BITRATE = 0xDE91; |
| 444 |
|
| 445 |
public static final int PROPERTY_BITRATE_TYPE = 0xDE92; |
| 446 |
|
| 447 |
public static final int PROPERTY_SAMPLE_RATE = 0xDE93; |
| 448 |
|
| 449 |
public static final int PROPERTY_NUMBER_OF_CHANNELS = 0xDE94; |
| 450 |
|
| 451 |
public static final int PROPERTY_AUDIO_BIT_DEPTH = 0xDE95; |
| 452 |
|
| 453 |
public static final int PROPERTY_SCAN_TYPE = 0xDE97; |
| 454 |
|
| 455 |
public static final int PROPERTY_AUDIO_WAVE_CODEC = 0xDE99; |
| 456 |
|
| 457 |
public static final int PROPERTY_AUDIO_BITRATE = 0xDE9A; |
| 458 |
|
| 459 |
public static final int PROPERTY_VIDEO_FOURCC_CODEC = 0xDE9B; |
| 460 |
|
| 461 |
public static final int PROPERTY_VIDEO_BITRATE = 0xDE9C; |
| 462 |
|
| 463 |
public static final int PROPERTY_FRAMES_PER_THOUSAND_SECONDS = 0xDE9D; |
| 464 |
|
| 465 |
public static final int PROPERTY_KEYFRAME_DISTANCE = 0xDE9E; |
| 466 |
|
| 467 |
public static final int PROPERTY_BUFFER_SIZE = 0xDE9F; |
| 468 |
|
| 469 |
public static final int PROPERTY_ENCODING_QUALITY = 0xDEA0; |
| 470 |
|
| 471 |
public static final int PROPERTY_ENCODING_PROFILE = 0xDEA1; |
| 472 |
|
| 473 |
public static final int PROPERTY_DISPLAY_NAME = 0xDCE0; |
| 474 |
|
| 475 |
|
| 476 |
|
| 477 |
public static final int DEVICE_PROPERTY_UNDEFINED = 0x5000; |
| 478 |
|
| 479 |
public static final int DEVICE_PROPERTY_BATTERY_LEVEL = 0x5001; |
| 480 |
|
| 481 |
public static final int DEVICE_PROPERTY_FUNCTIONAL_MODE = 0x5002; |
| 482 |
|
| 483 |
public static final int DEVICE_PROPERTY_IMAGE_SIZE = 0x5003; |
| 484 |
|
| 485 |
public static final int DEVICE_PROPERTY_COMPRESSION_SETTING = 0x5004; |
| 486 |
|
| 487 |
public static final int DEVICE_PROPERTY_WHITE_BALANCE = 0x5005; |
| 488 |
|
| 489 |
public static final int DEVICE_PROPERTY_RGB_GAIN = 0x5006; |
| 490 |
|
| 491 |
public static final int DEVICE_PROPERTY_F_NUMBER = 0x5007; |
| 492 |
|
| 493 |
public static final int DEVICE_PROPERTY_FOCAL_LENGTH = 0x5008; |
| 494 |
|
| 495 |
public static final int DEVICE_PROPERTY_FOCUS_DISTANCE = 0x5009; |
| 496 |
|
| 497 |
public static final int DEVICE_PROPERTY_FOCUS_MODE = 0x500A; |
| 498 |
|
| 499 |
public static final int DEVICE_PROPERTY_EXPOSURE_METERING_MODE = 0x500B; |
| 500 |
|
| 501 |
public static final int DEVICE_PROPERTY_FLASH_MODE = 0x500C; |
| 502 |
|
| 503 |
public static final int DEVICE_PROPERTY_EXPOSURE_TIME = 0x500D; |
| 504 |
|
| 505 |
public static final int DEVICE_PROPERTY_EXPOSURE_PROGRAM_MODE = 0x500E; |
| 506 |
|
| 507 |
public static final int DEVICE_PROPERTY_EXPOSURE_INDEX = 0x500F; |
| 508 |
|
| 509 |
public static final int DEVICE_PROPERTY_EXPOSURE_BIAS_COMPENSATION = 0x5010; |
| 510 |
|
| 511 |
public static final int DEVICE_PROPERTY_DATETIME = 0x5011; |
| 512 |
|
| 513 |
public static final int DEVICE_PROPERTY_CAPTURE_DELAY = 0x5012; |
| 514 |
|
| 515 |
public static final int DEVICE_PROPERTY_STILL_CAPTURE_MODE = 0x5013; |
| 516 |
|
| 517 |
public static final int DEVICE_PROPERTY_CONTRAST = 0x5014; |
| 518 |
|
| 519 |
public static final int DEVICE_PROPERTY_SHARPNESS = 0x5015; |
| 520 |
|
| 521 |
public static final int DEVICE_PROPERTY_DIGITAL_ZOOM = 0x5016; |
| 522 |
|
| 523 |
public static final int DEVICE_PROPERTY_EFFECT_MODE = 0x5017; |
| 524 |
|
| 525 |
public static final int DEVICE_PROPERTY_BURST_NUMBER= 0x5018; |
| 526 |
|
| 527 |
public static final int DEVICE_PROPERTY_BURST_INTERVAL = 0x5019; |
| 528 |
|
| 529 |
public static final int DEVICE_PROPERTY_TIMELAPSE_NUMBER = 0x501A; |
| 530 |
|
| 531 |
public static final int DEVICE_PROPERTY_TIMELAPSE_INTERVAL = 0x501B; |
| 532 |
|
| 533 |
public static final int DEVICE_PROPERTY_FOCUS_METERING_MODE = 0x501C; |
| 534 |
|
| 535 |
public static final int DEVICE_PROPERTY_UPLOAD_URL = 0x501D; |
| 536 |
|
| 537 |
public static final int DEVICE_PROPERTY_ARTIST = 0x501E; |
| 538 |
|
| 539 |
public static final int DEVICE_PROPERTY_COPYRIGHT_INFO = 0x501F; |
| 540 |
|
| 541 |
public static final int DEVICE_PROPERTY_SYNCHRONIZATION_PARTNER = 0xD401; |
| 542 |
|
| 543 |
public static final int DEVICE_PROPERTY_DEVICE_FRIENDLY_NAME = 0xD402; |
| 544 |
|
| 545 |
public static final int DEVICE_PROPERTY_VOLUME = 0xD403; |
| 546 |
|
| 547 |
public static final int DEVICE_PROPERTY_SUPPORTED_FORMATS_ORDERED = 0xD404; |
| 548 |
|
| 549 |
public static final int DEVICE_PROPERTY_DEVICE_ICON = 0xD405; |
| 550 |
|
| 551 |
public static final int DEVICE_PROPERTY_PLAYBACK_RATE = 0xD410; |
| 552 |
|
| 553 |
public static final int DEVICE_PROPERTY_PLAYBACK_OBJECT = 0xD411; |
| 554 |
|
| 555 |
public static final int DEVICE_PROPERTY_PLAYBACK_CONTAINER_INDEX = 0xD412; |
| 556 |
|
| 557 |
public static final int DEVICE_PROPERTY_SESSION_INITIATOR_VERSION_INFO = 0xD406; |
| 558 |
|
| 559 |
public static final int DEVICE_PROPERTY_PERCEIVED_DEVICE_TYPE = 0xD407; |
| 560 |
|
| 561 |
|
| 562 |
|
| 563 |
|
| 564 |
|
| 565 |
public static final int PROTECTION_STATUS_NONE = 0; |
| 566 |
|
| 567 |
|
| 568 |
|
| 569 |
|
| 570 |
public static final int PROTECTION_STATUS_READ_ONLY = 0x8001; |
| 571 |
|
| 572 |
|
| 573 |
|
| 574 |
|
| 575 |
public static final int PROTECTION_STATUS_READ_ONLY_DATA = 0x8002; |
| 576 |
|
| 577 |
|
| 578 |
|
| 579 |
|
| 580 |
|
| 581 |
public static final int PROTECTION_STATUS_NON_TRANSFERABLE_DATA = 0x8003; |
| 582 |
|
| 583 |
|
| 584 |
|
| 585 |
|
| 586 |
public static final int ASSOCIATION_TYPE_GENERIC_FOLDER = 0x0001; |
| 587 |
|
| 588 |
|
| 589 |
public static final int OPERATION_GET_DEVICE_INFO = 0x1001; |
| 590 |
|
| 591 |
public static final int OPERATION_OPEN_SESSION = 0x1002; |
| 592 |
|
| 593 |
public static final int OPERATION_CLOSE_SESSION = 0x1003; |
| 594 |
|
| 595 |
public static final int OPERATION_GET_STORAGE_I_DS = 0x1004; |
| 596 |
|
| 597 |
public static final int OPERATION_GET_STORAGE_INFO = 0x1005; |
| 598 |
|
| 599 |
public static final int OPERATION_GET_NUM_OBJECTS = 0x1006; |
| 600 |
|
| 601 |
public static final int OPERATION_GET_OBJECT_HANDLES = 0x1007; |
| 602 |
|
| 603 |
public static final int OPERATION_GET_OBJECT_INFO = 0x1008; |
| 604 |
|
| 605 |
public static final int OPERATION_GET_OBJECT = 0x1009; |
| 606 |
|
| 607 |
public static final int OPERATION_GET_THUMB = 0x100A; |
| 608 |
|
| 609 |
public static final int OPERATION_DELETE_OBJECT = 0x100B; |
| 610 |
|
| 611 |
public static final int OPERATION_SEND_OBJECT_INFO = 0x100C; |
| 612 |
|
| 613 |
public static final int OPERATION_SEND_OBJECT = 0x100D; |
| 614 |
|
| 615 |
public static final int OPERATION_INITIATE_CAPTURE = 0x100E; |
| 616 |
|
| 617 |
public static final int OPERATION_FORMAT_STORE = 0x100F; |
| 618 |
|
| 619 |
public static final int OPERATION_RESET_DEVICE = 0x1010; |
| 620 |
|
| 621 |
public static final int OPERATION_SELF_TEST = 0x1011; |
| 622 |
|
| 623 |
public static final int OPERATION_SET_OBJECT_PROTECTION = 0x1012; |
| 624 |
|
| 625 |
public static final int OPERATION_POWER_DOWN = 0x1013; |
| 626 |
|
| 627 |
public static final int OPERATION_GET_DEVICE_PROP_DESC = 0x1014; |
| 628 |
|
| 629 |
public static final int OPERATION_GET_DEVICE_PROP_VALUE = 0x1015; |
| 630 |
|
| 631 |
public static final int OPERATION_SET_DEVICE_PROP_VALUE = 0x1016; |
| 632 |
|
| 633 |
public static final int OPERATION_RESET_DEVICE_PROP_VALUE = 0x1017; |
| 634 |
|
| 635 |
public static final int OPERATION_TERMINATE_OPEN_CAPTURE = 0x1018; |
| 636 |
|
| 637 |
public static final int OPERATION_MOVE_OBJECT = 0x1019; |
| 638 |
|
| 639 |
public static final int OPERATION_COPY_OBJECT = 0x101A; |
| 640 |
|
| 641 |
public static final int OPERATION_GET_PARTIAL_OBJECT = 0x101B; |
| 642 |
|
| 643 |
public static final int OPERATION_INITIATE_OPEN_CAPTURE = 0x101C; |
| 644 |
|
| 645 |
public static final int OPERATION_GET_OBJECT_PROPS_SUPPORTED = 0x9801; |
| 646 |
|
| 647 |
public static final int OPERATION_GET_OBJECT_PROP_DESC = 0x9802; |
| 648 |
|
| 649 |
public static final int OPERATION_GET_OBJECT_PROP_VALUE = 0x9803; |
| 650 |
|
| 651 |
public static final int OPERATION_SET_OBJECT_PROP_VALUE = 0x9804; |
| 652 |
|
| 653 |
public static final int OPERATION_GET_OBJECT_REFERENCES = 0x9810; |
| 654 |
|
| 655 |
public static final int OPERATION_SET_OBJECT_REFERENCES = 0x9811; |
| 656 |
|
| 657 |
public static final int OPERATION_SKIP = 0x9820; |
| 658 |
|
| 659 |
public static final int OPERATION_GET_PARTIAL_OBJECT_64 = 0x95C1; |
| 660 |
} |