BackupActionResult.Success


public final class BackupActionResult.Success extends BackupActionResult


Indicates that the device payload executed and verified successfully.

Summary

Public constructors

Public methods

boolean
equals(Object other)
final @NonNull Map<@NonNull String, @NonNull String>

A read-only map of key-value string pairs representing serialized diagnostic results, returned system status, or database/preferences validation records captured on-device by the executing action payload (e.g. key-values checked or row-counts matched).

int
@NonNull String

Inherited methods

From androidx.test.backup.host.BackupActionResult
final boolean

Returns true if this is a Success result.

Public constructors

Success

Added in 1.0.0-alpha01
public Success(@NonNull Map<@NonNull String, @NonNull String> data)

Public methods

equals

public boolean equals(Object other)

getData

Added in 1.0.0-alpha01
public final @NonNull Map<@NonNull String, @NonNull StringgetData()

A read-only map of key-value string pairs representing serialized diagnostic results, returned system status, or database/preferences validation records captured on-device by the executing action payload (e.g. key-values checked or row-counts matched).

hashCode

public int hashCode()

toString

public @NonNull String toString()