Added in API level 8

SyncInfo


open class SyncInfo : Parcelable
kotlin.Any
   ↳ android.content.SyncInfo

Information about the sync operation that is currently underway.

Summary

Inherited constants
Public methods
open Int

open Unit
writeToParcel(parcel: Parcel, flags: Int)

Properties
Account!

The Account that is currently being synced.

String!

The authority of the provider that is currently being synced.

Long

The start time of the current sync operation in milliseconds since boot.

Public methods

describeContents

Added in API level 11
open fun describeContents(): Int
Return
Int a bitmask indicating the set of special object types marshaled by this Parcelable object instance.
Value is either 0 or

writeToParcel

Added in API level 11
open fun writeToParcel(
    parcel: Parcel,
    flags: Int
): Unit
Parameters
dest The Parcel in which the object should be written.
This value cannot be null.
flags Int: Additional flags about how the object should be written. May be 0 or PARCELABLE_WRITE_RETURN_VALUE.
Value is either 0 or a combination of the following:

Properties

account

Added in API level 8
val account: Account!

The Account that is currently being synced.

authority

Added in API level 8
val authority: String!

The authority of the provider that is currently being synced.

startTime

Added in API level 8
val startTime: Long

The start time of the current sync operation in milliseconds since boot. This is represented in elapsed real time. See android.os.SystemClock#elapsedRealtime().