Mulai 27 Maret 2025, sebaiknya gunakan android-latest-release
, bukan aosp-main
, untuk mem-build dan berkontribusi pada AOSP. Untuk mengetahui informasi selengkapnya, lihat Perubahan pada AOSP.
GCSHostResourceManager
public
class
GCSHostResourceManager
extends LocalHostResourceManager
Download resource host dari GCS (Google Cloud Storage).
Ringkasan
Metode yang dilindungi |
void
|
clearHostResource(String name, File localFile)
Menghapus resource host lokal.
|
File
|
fetchHostResource(String name, String value)
Mendownload resource host ke file lokal dari GCS.
|
Konstruktor publik
GCSHostResourceManager
public GCSHostResourceManager ()
Metode yang dilindungi
clearHostResource
protected void clearHostResource (String name,
File localFile)
Menghapus resource host lokal.
Parameter |
name |
String : ID resource host. |
localFile |
File : file lokal. |
fetchHostResource
protected File fetchHostResource (String name,
String value)
Mendownload resource host ke file lokal dari GCS.
Parameter |
name |
String : nama resource host. |
value |
String : jalur jarak jauh resource host. |
Konten dan contoh kode di halaman ini tunduk kepada lisensi yang dijelaskan dalam Lisensi Konten. Java dan OpenJDK adalah merek dagang atau merek dagang terdaftar dari Oracle dan/atau afiliasinya.
Terakhir diperbarui pada 2025-03-26 UTC.
[null,null,["Terakhir diperbarui pada 2025-03-26 UTC."],[],[]]