IT. Expert System.

Android Reference

MtpStorageInfo


android.mtp

Class MtpStorageInfo



  • public final class MtpStorageInfo
    extends Object
    This class encapsulates information about a storage unit on an MTP device. This corresponds to the StorageInfo Dataset described in section 5.2.2 of the MTP specification.
    • Method Detail

      • getStorageId

        public final int getStorageId()
        Returns the storage ID for the storage unit. The storage ID uniquely identifies the storage unit on the MTP device.
        Returns:
        the storage ID
      • getMaxCapacity

        public final long getMaxCapacity()
        Returns the maximum storage capacity for the storage unit in bytes
        Returns:
        the maximum capacity
      • getFreeSpace

        public final long getFreeSpace()
        Returns the amount of free space in the storage unit in bytes
        Returns:
        the amount of free space
      • getDescription

        public final String getDescription()
        Returns the description string for the storage unit. This is typically displayed to the user in the user interface on the MTP host.
        Returns:
        the storage unit description
      • getVolumeIdentifier

        public final String getVolumeIdentifier()
        Returns the volume identifier for the storage unit
        Returns:
        the storage volume identifier


Content

Android Reference

Java basics

Java Enterprise Edition (EE)

Java Standard Edition (SE)

SQL

HTML

PHP

CSS

Java Script

MYSQL

JQUERY

VBS

REGEX

C

C++

C#

Design patterns

RFC (standard status)

RFC (proposed standard status)

RFC (draft standard status)

RFC (informational status)

RFC (experimental status)

RFC (best current practice status)

RFC (historic status)

RFC (unknown status)

IT dictionary

License.
All information of this service is derived from the free sources and is provided solely in the form of quotations. This service provides information and interfaces solely for the familiarization (not ownership) and under the "as is" condition.
Copyright 2016 © ELTASK.COM. All rights reserved.
Site is optimized for mobile devices.
Downloads: 169 / 158695320. Delta: 0.00396 с