語言

StatsLog.LogBinaryPushStateChanged 方法

定義

記錄模組更新的二進位推送事件。

[Android.Runtime.Register("logBinaryPushStateChanged", "(Ljava/lang/String;JII[J)Z", "", ApiSince=29)]
public static bool LogBinaryPushStateChanged(string trainName, long trainVersionCode, int options, int state, long[] experimentIds);
[<Android.Runtime.Register("logBinaryPushStateChanged", "(Ljava/lang/String;JII[J)Z", "", ApiSince=29)>]
static member LogBinaryPushStateChanged : string * int64 * int * int * int64[] -> bool

參數

trainName
String

安裝列車名稱。

trainVersionCode
Int64

列車版本代碼。

options
Int32

關於此安裝的可選標記。 最後三個位元表示選項:0x01:FLAG_REQUIRE_STAGING 0x02:FLAG_ROLLBACK_ENABLED 0x04:FLAG_REQUIRE_LOW_LATENCY_MONITOR

state
Int32

目前安裝狀態。 定義為 frameworks/proto_logging/stats/atoms.proto 中 BinaryPushStateChanged atom 中的狀態枚舉

experimentIds
Int64[]

實驗 ID。

傳回

如果日誌請求是送給 statsd,那就沒錯。

屬性

備註

記錄模組更新的二進位推送事件。

Java 文件 android.util.StatsLog.logBinaryPushStateChanged(java.lang.String, long, int, int, long[])。

本頁部分內容為基於 Open Source Project 所創建與分享的作品,並依授權條款所描述的使用進行修改。

適用於