資源:Review
Android 應用程式評論。
JSON 表示法 |
---|
{
"reviewId": string,
"authorName": string,
"comments": [
{
object ( |
欄位 | |
---|---|
reviewId |
這則評論的專屬 ID。 |
authorName |
撰寫評論的使用者名稱。 |
comments[] |
包含評論註解的重複欄位。 |
註解
使用者和開發人員之間的對話。
JSON 表示法 |
---|
{ // Union field |
欄位 | |
---|---|
聯集欄位
|
|
userComment |
使用者的留言。 |
developerComment |
開發人員的留言。 |
UserComment
使用者和開發人員間的對話中的使用者。
JSON 表示法 |
---|
{ "text": string, "lastModified": { object ( |
欄位 | |
---|---|
text |
留言的內容,例如評論內文。在某些情況下,使用者能以不同標題和內文撰寫評論;在這種情況下,標題和內文會串連在一起,並以定位字元分隔。 |
lastModified |
這則留言上次更新的時間。 |
starRating |
與評論相關的星級評等 (1 到 5)。 |
reviewerLanguage |
評論者的語言代碼。這項資訊是根據裝置設定推測得出,因此不保證與評論使用的語言相符。可能不會。 |
device |
評論者裝置的代號名稱,例如 klte、flounder。可能不會。 |
androidOsVersion |
撰寫評論時使用者裝置的整數 Android SDK 版本,例如 23 是 Marshmallow。可能不會。 |
appVersionCode |
撰寫評論時安裝的應用程式整數版本代碼。可能不會。 |
appVersionName |
撰寫評論時安裝的應用程式字串版本名稱。可能不會。 |
thumbsUpCount |
給予這則評論的使用者喜歡人數。 |
thumbsDownCount |
對這則評論表示不喜歡的使用者人數。 |
deviceMetadata |
使用者裝置特性的相關資訊。 |
originalText |
評論的未翻譯文字,評論已翻譯。如果評論尚未翻譯,此處留空。 |
時間戳記
時間戳記代表與任何時區或本機日曆無關的某個時間點,並編碼成奈秒解析度的秒數和小數秒數。該計數是相對於世界標準時間 (1970 年 1 月 1 日午夜) 的一個紀元。
JSON 表示法 |
---|
{ "seconds": string, "nanos": integer } |
欄位 | |
---|---|
seconds |
代表從 Unix Epoch 紀元時間起算,採用世界標準時間 (UTC)。 |
nanos |
以奈秒解析度表示的非負數分數。必須介於 0 到 999,999,999 (含) 之間。 |
DeviceMetadata
使用者裝置的特性。
JSON 表示法 |
---|
{ "productName": string, "manufacturer": string, "deviceClass": string, "screenWidthPx": integer, "screenHeightPx": integer, "nativePlatform": string, "screenDensityDpi": integer, "glEsVersion": integer, "cpuModel": string, "cpuMake": string, "ramMb": integer } |
欄位 | |
---|---|
productName |
裝置型號名稱 (例如 Droid) |
manufacturer |
裝置製造商 (例如 Motorola) |
deviceClass |
裝置類別 (例如平板電腦) |
screenWidthPx |
螢幕像素寬度 |
screenHeightPx |
螢幕高度 (以像素為單位) |
nativePlatform |
以半形逗號分隔的原生平台清單 (例如「arm」、「arm7」) |
screenDensityDpi |
DPI 螢幕密度 |
glEsVersion |
OpenGL 版本 |
cpuModel |
裝置 CPU 型號,例如「MSM8974」 |
cpuMake |
裝置 CPU 廠牌,例如「Qualcomm」 |
ramMb |
裝置 RAM (以 MB 為單位),例如「2048」 |
DeveloperComment
開發人員與使用者和開發人員進行的對話。
JSON 表示法 |
---|
{
"text": string,
"lastModified": {
object ( |
欄位 | |
---|---|
text |
留言的內容,例如回覆內文。 |
lastModified |
這則留言上次更新的時間。 |
方法 |
|
---|---|
|
取得單一評論。 |
|
列出所有評論。 |
|
回覆單一評論,或更新現有的回覆。 |