| Class info |
| public static final class File.ContentExtras extends GenericJson |
| Class of additional information about file content. The additional information is optional and is not contained in the response. |
| Type | Name | Desc |
| Static Class | File.ContentExtras.Thumbnail | Declaration of the File.ContentExtras.Thumbnail class, which is used only when no standard thumbnail can be generated on the server. |
| Constructor name |
File.ContentExtras() Constructor for the File.ContentExtras class. |
| Return type | Method name |
| File.ContentExtras | clone() Clones a File.ContentExtras object. |
| File.ContentExtras.Thumbnail | getThumbnail() Obtains the thumbnail of the file. |
| File.ContentExtras | set(String fieldName, Object value) Sets the given field value for the given field name. |
| File.ContentExtras | setThumbnail(Thumbnail thumbnail) Sets the thumbnail of the file, which is used only when no standard thumbnail can be generated on the server. |
| constructor |
| File.ContentExtras() |
| Constructs a File.ContentExtras object. |
| Method |
| public File.ContentExtras clone() |
| Clones a File.ContentExtras object. |
Return
| type | desc |
| File.ContentExtras | A File.ContentExtras object. |
| Method |
public Thumbnail getThumbnail() |
| Obtains the thumbnail of the file, which is used only when no standard thumbnail can be generated on the server. |
Return
| type | desc |
| File.ContentExtras.Thumbnail | A File.ContentExtras.Thumbnail object. |
| Method |
public File.ContentExtras set(String fieldName, Object value) |
| Sets a custom attribute and its value. |
Parameters
| Parameter name | Parameter desc |
| fieldName | Field name. |
| value | Field value. |
Return
| type | desc |
| File.ContentExtras | A File.ContentExtras object. |
| Method |
public File.ContentExtras setThumbnail(Thumbnail thumbnail) |
| Sets the thumbnail of the file. The thumbnail is set only when the requesting app has the permission to access the file content. |
Parameters
| Parameter name | Parameter desc |
| thumbnail | Thumbnail of the file. |
Return
| type | desc |
| File.ContentExtras | A File.ContentExtras object. |