PerfettoTrace.Link
@ExperimentalInsightApi
public final class PerfettoTrace.Link
Represents a link to a given PerfettoTrace, including a URL parameter string.
As this link may be shared across environments (e.g. between an Android device and a host desktop machine), the paths are not guaranteed to be absolute.
Summary
Public constructors |
|---|
Public methods |
|
|---|---|
boolean |
|
final @NonNull String |
|
final @NonNull String |
getPath()Path to the trace. |
final @NonNull String |
getTitle() |
final @NonNull String |
getUri() |
final @NonNull String |
Url params passed to ui.perfetto.dev, UTF-8 encoded |
int |
hashCode() |
@NonNull String |
toString() |
Public constructors
Public methods
getPath
Added in 1.4.1
public final @NonNull String getPath()
Path to the trace.
When used with Android Benchmark, this is the relative path to the trace in the test output directory.
getUrlParamsEncoded
Added in 1.4.1
public final @NonNull String getUrlParamsEncoded()
Url params passed to ui.perfetto.dev, UTF-8 encoded