Membuat templat properti sistem. Pasangan kunci-nilai yang didefinisikan dalam templat dikirim ke cloud phone dan ditetapkan sebagai properti dalam sistem Android menggunakan perintah setprop. APK atau program terkait kemudian dapat membaca nilai properti tersebut.
Coba sekarang
Test
RAM authorization
Parameter permintaan
|
Parameter |
Type |
Required |
Description |
Example |
| TemplateName |
string |
No |
Nama templat. Nama harus memenuhi persyaratan berikut:
|
Template1 |
| SystemPropertyInfo |
object |
No |
Informasi tentang templat properti sistem. |
|
| RoBuildFingerprint |
string |
No |
Catatan
This parameter is not yet available for use. |
null |
| RoProductModel |
string |
No |
Catatan
This parameter is not yet available for use. |
null |
| RoProductManufacturer |
string |
No |
Catatan
This parameter is not yet available for use. |
null |
| RoProductBrand |
string |
No |
Catatan
This parameter is not yet available for use. |
null |
| RoBuildUser |
string |
No |
Catatan
This parameter is not yet available for use. |
null |
| RoBuildId |
string |
No |
Catatan
This parameter is not yet available for use. |
null |
| RoBootloader |
string |
No |
Catatan
This parameter is not yet available for use. |
null |
| RoBuildTags |
string |
No |
Catatan
This parameter is not yet available for use. |
null |
| RoProductBoard |
string |
No |
Catatan
This parameter is not yet available for use. |
null |
| RoProductDevice |
string |
No |
Catatan
This parameter is not yet available for use. |
null |
| RoBuildProduct |
string |
No |
Catatan
This parameter is not yet available for use. |
null |
| RoBuildType |
string |
No |
Catatan
This parameter is not yet available for use. |
null |
| RoBuildHost |
string |
No |
Catatan
This parameter is not yet available for use. |
null |
| RoBuildDisplayId |
string |
No |
Catatan
This parameter is not yet available for use. |
null |
| RwRoSerialNo |
string |
No |
Catatan
This parameter is not yet available for use. |
null |
| CustomPropertyInfos |
array<object> |
No |
A list of custom properties. |
|
|
object |
No |
A custom property. |
||
| PropertyName |
string |
No |
The key of the custom property. |
propKey |
| PropertyValue |
string |
No |
The value of the custom property. |
propValue |
| FilePath |
string |
No |
URL file templat properti. API mengurai file secara sinkron. Error dikembalikan jika format file tidak valid. Catatan
File harus dalam format berikut: |
https://filepath****.com |
| EnableAuto |
boolean |
No |
Apakah akan menghasilkan properti sistem preset secara otomatis. |
true |
Elemen respons
|
Element |
Type |
Description |
Example |
|
object |
The data structure of the response. |
||
| RequestId |
string |
The request ID. |
425F351C-3F8E-5218-A520-B6311D0D**** |
| TemplateId |
string |
The ID of the property template. |
ap-g6gyv4a4xlf**** |
Contoh
Respons sukses
JSONformat
{
"RequestId": "425F351C-3F8E-5218-A520-B6311D0D****",
"TemplateId": "ap-g6gyv4a4xlf****"
}
Kode kesalahan
Lihat Error Codes untuk daftar lengkap.
Catatan rilis
Lihat Release Notes untuk daftar lengkap.