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 com.android.photopicker.core.navigation
18 
19 enum class PhotopickerDestinations(val route: String) {
20 
21     // The default route, only used when no other Routes are registered.
22     DEFAULT("default"),
23 
24     // The main route which shows a grid of the user's photos.
25     PHOTO_GRID("photogrid"),
26 
27     // Preview routes that show Full resolution media for the user to preview.
28     // See the [NavController] extensions to navigate to these routes, as [PREVIEW_MEDIA] requires
29     // data to be provided to the route in order to work correctly.
30     PREVIEW_MEDIA("preview/media"), // Preview route for an individual item
31     PREVIEW_SELECTION("preview/selection"), // Preview route for the current selection
32 
33     // The route which shows a grid of the user's albums.
34     ALBUM_GRID("albumgrid"),
35 
36     // The route used to navigate to album media grid.
37     ALBUM_MEDIA_GRID("albummediagrid"),
38 }
39