@@ -27,7 +27,10 @@ import com.example.platform.accessibility.SpeakableText
2727import com.example.platform.camera.imagecapture.Camera2ImageCapture
2828import com.example.platform.camera.imagecapture.Camera2UltraHDRCapture
2929import com.example.platform.camera.preview.Camera2Preview
30+ import com.example.platform.camerax.video.CameraXVideo
3031import com.example.platform.camerax.basic.CameraXBasic
32+ import com.example.platform.camerax.extensions.CameraXExtensions
33+ import com.example.platform.camerax.mlkit.CameraXMlKit
3134import com.example.platform.connectivity.audio.AudioCommsSample
3235import com.example.platform.connectivity.bluetooth.ble.BLEScanIntentSample
3336import com.example.platform.connectivity.bluetooth.ble.ConnectGATTSample
@@ -64,6 +67,7 @@ import com.example.platform.shared.MinSdkBox
6467import com.example.platform.storage.mediastore.MediaStoreQuerySample
6568import com.example.platform.storage.mediastore.SelectedPhotosAccessSample
6669import com.example.platform.storage.photopicker.PhotoPickerSample
70+ import com.example.platform.storage.storageaccessframework.GetContentSample
6771import com.example.platform.ui.appwidgets.AppWidgets
6872import com.example.platform.ui.constraintlayout.AdvancedArrangementFragment
6973import com.example.platform.ui.constraintlayout.AdvancedChainsFragment
@@ -230,6 +234,33 @@ val SAMPLE_DEMOS by lazy {
230234 tags = listOf (" CameraX" ),
231235 content = { CameraXBasic () },
232236 ),
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+ ),
233264
234265 ComposableSampleDemo (
235266 id = " communication-audio-manager" ,
@@ -589,6 +620,14 @@ val SAMPLE_DEMOS by lazy {
589620 apiSurface = StorageApiSurface ,
590621 content = { MediaStoreQuerySample () },
591622 ),
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+ ),
592631 ComposableSampleDemo (
593632 id = " selected-photos-access" ,
594633 name = " Selected Photos Access" ,
0 commit comments