WakeUpRequest
class WakeUpRequest : AbstractSafeParcelable
com.google.android.gms.dtdi.core.WakeUpRequest |
Represents a wake up request. Not suitable for sending across the wire.
Summary
Constants |
|
---|---|
const String | |
const String | |
const String |
Public constructors |
|
---|---|
Represents a wake up request. |
Public methods |
|
---|---|
Unit |
writeToParcel(dest: Parcel, flags: Int) |
Properties |
|
---|---|
String |
The intent action to use to perform the wakeup. |
List<Extra> |
The extras to be passed through the intent to perform the wakeup. |
String |
A user-visible string describing the reason for this wake up request. |
List<RemoteAppScope>? |
Ordered list of allowed remote app scopes for expanding the wakeup beyond a same package match. |
Companion properties |
|
---|---|
Creator<WakeUpRequest> |
Constants
ANALYTICS_INFO
const val ANALYTICS_INFO: String
Value: "com.google.android.gms.dtdi.extra.ANALYTICS_INFO"
APP_ICON_EXTRA_KEY
const val APP_ICON_EXTRA_KEY: String
Value: "com.google.android.gms.dtdi.extra.APP_ICON"
ORIGIN_DEVICE
const val ORIGIN_DEVICE: String
Value: "com.google.android.gms.dtdi.extra.ORIGIN_DEVICE"
Public constructors
<init>
WakeUpRequest(
action: String,
extras: List<Extra>,
reason: String,
scopes: List<RemoteAppScope>? = null)
Represents a wake up request. Not suitable for sending across the wire.
Public methods
Properties
scopes
val scopes: List<RemoteAppScope>?
Ordered list of allowed remote app scopes for expanding the wakeup beyond a same package match.
Companion properties
CREATOR
val CREATOR: Creator<WakeUpRequest>