# Print output for @column tags ?>
  public
  static
  
  
  class
  MtpObjectInfo.Builder
  
    extends Object
  
  
  
  
  
  
| java.lang.Object | |
| ↳ | android.mtp.MtpObjectInfo.Builder | 
Builds a new object info instance.
| Public constructors | |
|---|---|
| 
      Builder()
       | |
| 
      Builder(MtpObjectInfo objectInfo)
      Creates a builder on a copy of an existing object info. | |
| Inherited methods | |
|---|---|
public Builder ()
public Builder (MtpObjectInfo objectInfo)
Creates a builder on a copy of an existing object info. All fields, except the object handle will be copied.
| Parameters | |
|---|---|
| objectInfo | MtpObjectInfo: object info of an existing entry | 
public MtpObjectInfo build ()
Builds the object info instance. Once called, methods of the builder must not be called anymore.
| Returns | |
|---|---|
| MtpObjectInfo | the object info of the newly created file, or NULL in case of an error. | 
public MtpObjectInfo.Builder setAssociationDesc (int value)
| Parameters | |
|---|---|
| value | int | 
| Returns | |
|---|---|
| MtpObjectInfo.Builder | |
public MtpObjectInfo.Builder setAssociationType (int value)
| Parameters | |
|---|---|
| value | int | 
| Returns | |
|---|---|
| MtpObjectInfo.Builder | |
public MtpObjectInfo.Builder setCompressedSize (long value)
| Parameters | |
|---|---|
| value | long | 
| Returns | |
|---|---|
| MtpObjectInfo.Builder | |
public MtpObjectInfo.Builder setDateCreated (long value)
| Parameters | |
|---|---|
| value | long | 
| Returns | |
|---|---|
| MtpObjectInfo.Builder | |
public MtpObjectInfo.Builder setDateModified (long value)
| Parameters | |
|---|---|
| value | long | 
| Returns | |
|---|---|
| MtpObjectInfo.Builder | |
public MtpObjectInfo.Builder setFormat (int value)
| Parameters | |
|---|---|
| value | int | 
| Returns | |
|---|---|
| MtpObjectInfo.Builder | |
public MtpObjectInfo.Builder setImagePixDepth (long value)
| Parameters | |
|---|---|
| value | long | 
| Returns | |
|---|---|
| MtpObjectInfo.Builder | |
public MtpObjectInfo.Builder setImagePixHeight (long value)
| Parameters | |
|---|---|
| value | long | 
| Returns | |
|---|---|
| MtpObjectInfo.Builder | |
public MtpObjectInfo.Builder setImagePixWidth (long value)
| Parameters | |
|---|---|
| value | long | 
| Returns | |
|---|---|
| MtpObjectInfo.Builder | |
public MtpObjectInfo.Builder setKeywords (String value)
| Parameters | |
|---|---|
| value | String: This value cannot benull. | 
| Returns | |
|---|---|
| MtpObjectInfo.Builder | |
public MtpObjectInfo.Builder setName (String value)
| Parameters | |
|---|---|
| value | String: This value cannot benull. | 
| Returns | |
|---|---|
| MtpObjectInfo.Builder | |
public MtpObjectInfo.Builder setObjectHandle (int value)
| Parameters | |
|---|---|
| value | int | 
| Returns | |
|---|---|
| MtpObjectInfo.Builder | |
public MtpObjectInfo.Builder setParent (int value)
| Parameters | |
|---|---|
| value | int | 
| Returns | |
|---|---|
| MtpObjectInfo.Builder | |
public MtpObjectInfo.Builder setProtectionStatus (int value)
| Parameters | |
|---|---|
| value | int | 
| Returns | |
|---|---|
| MtpObjectInfo.Builder | |
public MtpObjectInfo.Builder setSequenceNumber (long value)
| Parameters | |
|---|---|
| value | long | 
| Returns | |
|---|---|
| MtpObjectInfo.Builder | |
public MtpObjectInfo.Builder setStorageId (int value)
| Parameters | |
|---|---|
| value | int | 
| Returns | |
|---|---|
| MtpObjectInfo.Builder | |
public MtpObjectInfo.Builder setThumbCompressedSize (long value)
| Parameters | |
|---|---|
| value | long | 
| Returns | |
|---|---|
| MtpObjectInfo.Builder | |
public MtpObjectInfo.Builder setThumbFormat (int value)
| Parameters | |
|---|---|
| value | int | 
| Returns | |
|---|---|
| MtpObjectInfo.Builder | |
public MtpObjectInfo.Builder setThumbPixHeight (long value)
| Parameters | |
|---|---|
| value | long | 
| Returns | |
|---|---|
| MtpObjectInfo.Builder | |
public MtpObjectInfo.Builder setThumbPixWidth (long value)
| Parameters | |
|---|---|
| value | long | 
| Returns | |
|---|---|
| MtpObjectInfo.Builder | |