RemoteAppScope

public final class RemoteAppScope implements Parcelable


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 fields

static final @NonNull Parcelable.Creator<@NonNull RemoteAppScope>

Public constructors

RemoteAppScope(
    AndroidRoleScope androidRoleScope,
    AndroidPackageScope androidPackageScope
)

Public methods

final AndroidPackageScope

Specifies an Android package that can be woken up.

final AndroidRoleScope

An Android Role remote scope, indicates that selecting an allowed alternate app will be deferred to the specified Android role.

void
writeToParcel(@NonNull Parcel dest, int flags)

Public fields

CREATOR

public static final @NonNull Parcelable.Creator<@NonNull RemoteAppScope> CREATOR

Public constructors

RemoteAppScope

public RemoteAppScope(@NonNull AndroidPackageScope androidPackageScope)

RemoteAppScope

public RemoteAppScope(@NonNull AndroidRoleScope androidRoleScope)

RemoteAppScope

public RemoteAppScope(
    AndroidRoleScope androidRoleScope,
    AndroidPackageScope androidPackageScope
)

Public methods

getAndroidPackageScope

public final AndroidPackageScope getAndroidPackageScope()

Specifies an Android package that can be woken up. The receiving package must specify the originating package in its manifest.

getAndroidRoleScope

public final AndroidRoleScope getAndroidRoleScope()

An Android Role remote scope, indicates that selecting an allowed alternate app will be deferred to the specified Android role.

writeToParcel

public void writeToParcel(@NonNull Parcel dest, int flags)