DocumentObject Antarmuka
Tetap teratur dengan koleksi
Simpan dan kategorikan konten berdasarkan preferensi Anda.
DocumentObject
adalah antarmuka yang mendeskripsikan atribut item yang dipilih.
Tanda Tangan
interface DocumentObject
Tanda tangan properti
Nama |
Deskripsi |
addressLines |
(Tidak digunakan lagi) |
audience |
(Tidak digunakan lagi) |
description |
Deskripsi yang dikontribusikan pengguna untuk item yang dipilih. |
downloadUrl |
URL untuk mendownload item ini. |
driveError |
Kode error untuk permintaan membuka dokumen terlebih dahulu di Google Drive. |
driveSuccess |
Apakah permintaan untuk membuka dokumen di Google Drive terlebih dahulu berhasil. |
duration |
Durasi video yang dipilih. |
embedUrl |
URL untuk item ini yang cocok untuk disematkan di halaman web. |
iconUrl |
URL ke ikon untuk item ini. |
id |
ID untuk item yang dipilih. |
isNew |
Menampilkan true (benar) jika item yang dipilih baru saja diupload. |
isShared |
Apakah item dibagikan. |
lastEditedUtc |
Stempel waktu yang menjelaskan kapan item ini terakhir diedit. |
latitude |
Lintang item yang dipilih. |
longitude |
Bujur item yang dipilih. |
mimeType |
Jenis MIME item ini. |
name |
Nama item ini. |
organizationDisplayName |
Nama tampilan untuk organisasi pemilik. |
parentId |
ID induk item ini. Misalnya, folder yang berisi file ini. |
phoneNumbers |
Nomor telepon item yang dipilih. |
resourceKey |
Kunci resource untuk item, jika ada. String kosong |
rotation |
(Tidak digunakan lagi) |
rotationDegree |
(Tidak digunakan lagi) |
serviceId |
ID yang menjelaskan layanan tempat item ini dipilih. |
sizeBytes |
Ukuran item yang dipilih dalam byte. Nilai tidak ditampilkan saat item diupload selama sesi Pemilih. |
thumbnails |
Array Thumbnail yang menjelaskan atribut foto atau video. Thumbnail tidak ditampilkan jika item yang dipilih adalah milik Google Drive. |
type |
Jenis item yang dipilih. |
uploadId |
Urutan item dalam sesi upload. |
uploadState |
Status upload. |
url |
URL ke item ini. |
Kecuali dinyatakan lain, konten di halaman ini dilisensikan berdasarkan Lisensi Creative Commons Attribution 4.0, sedangkan contoh kode dilisensikan berdasarkan Lisensi Apache 2.0. Untuk mengetahui informasi selengkapnya, lihat Kebijakan Situs Google Developers. Java adalah merek dagang terdaftar dari Oracle dan/atau afiliasinya.
Terakhir diperbarui pada 2025-07-25 UTC.
[null,null,["Terakhir diperbarui pada 2025-07-25 UTC."],[],[],null,["# Interface DocumentObject\n\n`DocumentObject` is an interface describing the attributes of a selected item.\n\nSignature\n---------\n\n interface DocumentObject\n\nProperty signatures\n-------------------\n\n| Name | Description |\n|------------------------------------------------------------------------------|------------------------------------------------------------------------------------------------------------------------------------------------------|\n| [~~`addressLines`~~](./picker.documentobject.addresslines) | *(Deprecated)* |\n| [~~`audience`~~](./picker.documentobject.audience) | *(Deprecated)* |\n| [`description`](./picker.documentobject.description) | A user-contributed description of the selected item. |\n| [`downloadUrl`](./picker.documentobject.downloadurl) | A URL to download this item. |\n| [`driveError`](./picker.documentobject.driveerror) | The error code for the request to pre-open the document in Google Drive. |\n| [`driveSuccess`](./picker.documentobject.drivesuccess) | Whether the request to pre-open the document in Google Drive was successful. |\n| [`duration`](./picker.documentobject.duration) | The duration of a selected video. |\n| [`embedUrl`](./picker.documentobject.embedurl) | A URL for this item suitable for embedding in a web page. |\n| [`iconUrl`](./picker.documentobject.iconurl) | A URL to an icon for this item. |\n| [`id`](./picker.documentobject.id) | The ID for the selected item. |\n| [`isNew`](./picker.documentobject.isnew) | Returns true if the selected item was just uploaded. |\n| [`isShared`](./picker.documentobject.isshared) | Whether the item is shared. |\n| [`lastEditedUtc`](./picker.documentobject.lasteditedutc) | The timestamp describing when this item was last edited. |\n| [`latitude`](./picker.documentobject.latitude) | The latitude of the selected item. |\n| [`longitude`](./picker.documentobject.longitude) | The longitude of the selected item. |\n| [`mimeType`](./picker.documentobject.mimetype) | The MIME type of this item. |\n| [`name`](./picker.documentobject.name) | The name of this item. |\n| [`organizationDisplayName`](./picker.documentobject.organizationdisplayname) | Display name for the owning organization. |\n| [`parentId`](./picker.documentobject.parentid) | The parent ID of this item. For example, the folder containing this file. |\n| [`phoneNumbers`](./picker.documentobject.phonenumbers) | The phone numbers of the selected item. |\n| [`resourceKey`](./picker.documentobject.resourcekey) | The resource key for the item, if present. Empty string otherwise |\n| [~~`rotation`~~](./picker.documentobject.rotation) | *(Deprecated)* |\n| [~~`rotationDegree`~~](./picker.documentobject.rotationdegree) | *(Deprecated)* |\n| [`serviceId`](./picker.documentobject.serviceid) | An id describing the service this item was selected from. |\n| [`sizeBytes`](./picker.documentobject.sizebytes) | Size of the picked item in bytes. The value is not returned when the item is uploaded during the Picker session. |\n| [`thumbnails`](./picker.documentobject.thumbnails) | An array of `Thumbnail`s which describe the attributes of a photo or video. Thumbnails aren't returned if the selected items belong to Google Drive. |\n| [`type`](./picker.documentobject.type) | The type of the selected item. |\n| [`uploadId`](./picker.documentobject.uploadid) | The item order in the upload session. |\n| [`uploadState`](./picker.documentobject.uploadstate) | The state of the upload. |\n| [`url`](./picker.documentobject.url) | A URL to this item. |"]]