1 /*
2  * Copyright 2024 The Android Open Source Project
3  *
4  * Licensed under the Apache License, Version 2.0 (the "License");
5  * you may not use this file except in compliance with the License.
6  * You may obtain a copy of the License at
7  *
8  *      http://www.apache.org/licenses/LICENSE-2.0
9  *
10  * Unless required by applicable law or agreed to in writing, software
11  * distributed under the License is distributed on an "AS IS" BASIS,
12  * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13  * See the License for the specific language governing permissions and
14  * limitations under the License.
15  */
16 
17 package androidx.benchmark
18 
19 import androidx.annotation.RestrictTo
20 
21 @RestrictTo(RestrictTo.Scope.LIBRARY_GROUP)
22 enum class LinkFormat {
23     /**
24      * Compat version for old versions of studio, which does not support any URI parameters.
25      *
26      * [my trace](file://<outputRelativePath.perfetto-trace>)
27      */
28     V2,
29 
30     /**
31      * URI + parameter file format link, only supported in newer versions of Studio.
32      *
33      * TODO: specify which version of Studio
34      *
35      * [my
36      * trace](uri://<outputRelativePath.perfetto-trace>?selectionParams=<base64encodedCompressedParams>)
37      */
38     V3
39 }
40