@@ -27,7 +27,10 @@ import com.example.platform.accessibility.SpeakableText
27
27
import com.example.platform.camera.imagecapture.Camera2ImageCapture
28
28
import com.example.platform.camera.imagecapture.Camera2UltraHDRCapture
29
29
import com.example.platform.camera.preview.Camera2Preview
30
+ import com.example.platform.camerax.video.CameraXVideo
30
31
import com.example.platform.camerax.basic.CameraXBasic
32
+ import com.example.platform.camerax.extensions.CameraXExtensions
33
+ import com.example.platform.camerax.mlkit.CameraXMlKit
31
34
import com.example.platform.connectivity.audio.AudioCommsSample
32
35
import com.example.platform.connectivity.bluetooth.ble.BLEScanIntentSample
33
36
import com.example.platform.connectivity.bluetooth.ble.ConnectGATTSample
@@ -64,6 +67,7 @@ import com.example.platform.shared.MinSdkBox
64
67
import com.example.platform.storage.mediastore.MediaStoreQuerySample
65
68
import com.example.platform.storage.mediastore.SelectedPhotosAccessSample
66
69
import com.example.platform.storage.photopicker.PhotoPickerSample
70
+ import com.example.platform.storage.storageaccessframework.GetContentSample
67
71
import com.example.platform.ui.appwidgets.AppWidgets
68
72
import com.example.platform.ui.constraintlayout.AdvancedArrangementFragment
69
73
import com.example.platform.ui.constraintlayout.AdvancedChainsFragment
@@ -230,6 +234,33 @@ val SAMPLE_DEMOS by lazy {
230
234
tags = listOf (" CameraX" ),
231
235
content = { CameraXBasic () },
232
236
),
237
+ ComposableSampleDemo (
238
+ id = " camerax-video-capture" ,
239
+ name = " CameraX • Basic Video Capture" ,
240
+ description = " This sample demonstrates how to capture a video using CameraX" ,
241
+ documentation = " https://developer.android.com/training/camerax" ,
242
+ apiSurface = CameraCameraXApiSurface ,
243
+ tags = listOf (" CameraX" ),
244
+ content = { CameraXVideo () },
245
+ ),
246
+ ComposableSampleDemo (
247
+ id = " camerax-extensions" ,
248
+ name = " CameraX • Extensions" ,
249
+ description = " This sample demonstrates how to check for and utilize CameraX Extensions" ,
250
+ documentation = " https://developer.android.com/training/camerax" ,
251
+ apiSurface = CameraCameraXApiSurface ,
252
+ tags = listOf (" CameraX" ),
253
+ content = { CameraXExtensions () },
254
+ ),
255
+ ComposableSampleDemo (
256
+ id = " camerax-ml-kit" ,
257
+ name = " CameraX • MLKit Sample" ,
258
+ description = " This sample demonstrates how to use MLKit with CameraX" ,
259
+ documentation = " https://developer.android.com/training/camerax" ,
260
+ apiSurface = CameraCameraXApiSurface ,
261
+ tags = listOf (" CameraX" ),
262
+ content = { CameraXMlKit () },
263
+ ),
233
264
234
265
ComposableSampleDemo (
235
266
id = " communication-audio-manager" ,
@@ -589,6 +620,14 @@ val SAMPLE_DEMOS by lazy {
589
620
apiSurface = StorageApiSurface ,
590
621
content = { MediaStoreQuerySample () },
591
622
),
623
+ ComposableSampleDemo (
624
+ id = " storageaccessframework-getcontent" ,
625
+ name = " Storage Access Framework - GET_CONTENT" ,
626
+ description = " Open a document using the Storage Access Framework" ,
627
+ documentation = " https://developer.android.com/training/data-storage/shared/documents-files#open-file" ,
628
+ apiSurface = StorageApiSurface ,
629
+ content = { GetContentSample () },
630
+ ),
592
631
ComposableSampleDemo (
593
632
id = " selected-photos-access" ,
594
633
name = " Selected Photos Access" ,
0 commit comments