ObserveAppFunctionsEvent.StatesChanged


public final class ObserveAppFunctionsEvent.StatesChanged extends ObserveAppFunctionsEvent


Triggered when the runtime state of one or more app functions changes.

Upon receiving this notification, clients can call android.app.appfunctions.AppFunctionManager.getAppFunctionStates to retrieve the updated AppFunctionState for the affected functions.

Summary

Public constructors

StatesChanged(@NonNull Set<@NonNull AppFunctionName> changedFunctionNames)

Public methods

boolean
equals(Object other)
final @NonNull Set<@NonNull AppFunctionName>

The set of AppFunctionNames representing functions whose state has changed.

int
@NonNull String

Public constructors

StatesChanged

Added in 1.0.0-alpha11
public StatesChanged(@NonNull Set<@NonNull AppFunctionName> changedFunctionNames)

Public methods

equals

public boolean equals(Object other)

getChangedFunctionNames

Added in 1.0.0-alpha11
public final @NonNull Set<@NonNull AppFunctionNamegetChangedFunctionNames()

The set of AppFunctionNames representing functions whose state has changed.

hashCode

public int hashCode()

toString

public @NonNull String toString()