RemoteAppScope
data class RemoteAppScope : AbstractSafeParcelable
com.google.android.gms.dtdi.core.RemoteAppScope |
Represents a remote application scope. An application can provide one or more scopes to a DTDI wakeup request to expand what could start on the remote device beyond an exact Android package match. Only oneof androidRoleScope and androidPackageScope should be set. Not suitable for sending over the wire.
Summary
Public constructors |
|
---|---|
<init>(androidRoleScope: AndroidRoleScope) |
|
<init>(androidPackageScope: AndroidPackageScope) |
|
<init>(androidRoleScope: AndroidRoleScope?, androidPackageScope: AndroidPackageScope?) Represents a remote application scope. |
Public methods |
|
---|---|
Unit |
writeToParcel(dest: Parcel, flags: Int) |
Properties |
|
---|---|
AndroidPackageScope? |
Specifies an Android package that can be woken up. |
AndroidRoleScope? |
An Android Role remote scope, indicates that selecting an allowed alternate app will be deferred to the specified Android role. |
Companion properties |
|
---|---|
Creator<RemoteAppScope> |
Public constructors
<init>
RemoteAppScope(androidRoleScope: AndroidRoleScope)
<init>
RemoteAppScope(androidPackageScope: AndroidPackageScope)
<init>
RemoteAppScope(
androidRoleScope: AndroidRoleScope?,
androidPackageScope: AndroidPackageScope?)
Represents a remote application scope. An application can provide one or more scopes to a DTDI wakeup request to expand what could start on the remote device beyond an exact Android package match. Only oneof androidRoleScope and androidPackageScope should be set. Not suitable for sending over the wire.
Public methods
Properties
androidPackageScope
val androidPackageScope: AndroidPackageScope?
Specifies an Android package that can be woken up. The receiving package must specify the originating package in its manifest.
androidRoleScope
val androidRoleScope: AndroidRoleScope?
An Android Role remote scope, indicates that selecting an allowed alternate app will be deferred to the specified Android role.
Companion properties
CREATOR
val CREATOR: Creator<RemoteAppScope>