Added in API level 19

SyncRequest

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

Convenience class to construct sync requests. See android.content.SyncRequest.Builder for an explanation of the various functions. The resulting object is passed through to the framework via android.content.ContentResolver#requestSync(SyncRequest).

Summary

Nested classes
open

Builder class for a SyncRequest.

Inherited constants
Public methods
open Int

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

Properties
static Parcelable.Creator<SyncRequest!>

Public methods

describeContents

Added in API level 19
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 android.os.Parcelable#CONTENTS_FILE_DESCRIPTOR

writeToParcel

Added in API level 19
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 android.os.Parcelable#PARCELABLE_WRITE_RETURN_VALUE, and android.os.Parcelable.PARCELABLE_ELIDE_DUPLICATES

Properties

CREATOR

Added in API level 19
static val CREATOR: Parcelable.Creator<SyncRequest!>