StatsLog.LogBinaryPushStateChanged Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Logs an event for binary push for module updates.
[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
Parameters
- trainName
- String
name of install train.
- trainVersionCode
- Int64
version code of the train.
- options
- Int32
optional flags about this install. The last 3 bits indicate options: 0x01: FLAG_REQUIRE_STAGING 0x02: FLAG_ROLLBACK_ENABLED 0x04: FLAG_REQUIRE_LOW_LATENCY_MONITOR
- state
- Int32
current install state. Defined as State enums in BinaryPushStateChanged atom in frameworks/proto_logging/stats/atoms.proto
- experimentIds
- Int64[]
experiment ids.
Returns
True if the log request was sent to statsd.
- Attributes
Remarks
Logs an event for binary push for module updates.
Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License.