WakeUpRequest

 class 
 WakeUpRequest 
 : 
 AbstractSafeParcelable 

Represents a wake up request. Not suitable for sending across the wire.

Summary

Public constructors

<init> ( action : String , extras : List < Extra > , reason : String , scopes : List < RemoteAppScope > ? =  null)

Represents a wake up request.

Public methods

Properties

The intent action to use to perform the wakeup.

The extras to be passed through the intent to perform the wakeup.

A user-visible string describing the reason for this wake up request.

Ordered list of allowed remote app scopes for expanding the wakeup beyond a same package match.

Companion properties

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

writeToParcel

 fun 
 writeToParcel 
 ( 

dest : Parcel ,
flags : Int
) : Unit

Properties

action

 val 
 action 
 : 
  String 
 

The intent action to use to perform the wakeup.

extras

 val 
 extras 
 : 
  List 
 
 < 
  Extra 
 
 > 

The extras to be passed through the intent to perform the wakeup.

reason

 val 
 reason 
 : 
  String 
 

A user-visible string describing the reason for this wake up request.

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 
 
 > 
Create a Mobile Website
View Site in Mobile | Classic
Share by: