package

androidx.activity.result.contract

Classes

ActivityResultContract<I, O>A contract specifying that an activity can be called with an input of type I and produce an output of type O Makes calling an activity for result type-safe.
ActivityResultContract.SynchronousResult<T>The wrapper for a result provided in ActivityResultContract.getSynchronousResult(Context, I)
ActivityResultContractsA collection of some standard activity call contracts, as provided by android.
ActivityResultContracts.CreateDocumentAn ActivityResultContract to prompt the user to select a path for creating a new document, returning the content: of the item that was created.
ActivityResultContracts.GetContentAn ActivityResultContract to prompt the user to pick a piece of content, receiving a content:// for that content that allows you to use to access the raw data.
ActivityResultContracts.GetMultipleContentsAn ActivityResultContract to prompt the user to pick one or more a pieces of content, receiving a content:// for each piece of content that allows you to use to access the raw data.
ActivityResultContracts.OpenDocumentAn ActivityResultContract to prompt the user to open a document, receiving its contents as a file:/http:/content: .
ActivityResultContracts.OpenDocumentTreeAn ActivityResultContract to prompt the user to select a directory, returning the user selection as a .
ActivityResultContracts.OpenMultipleDocumentsAn ActivityResultContract to prompt the user to open (possibly multiple) documents, receiving their contents as file:/http:/content: s.
ActivityResultContracts.PickContactAn ActivityResultContract to request the user to pick a contact from the contacts app.
ActivityResultContracts.RequestMultiplePermissionsAn ActivityResultContract to
ActivityResultContracts.RequestPermissionAn ActivityResultContract to
ActivityResultContracts.StartActivityForResultAn ActivityResultContract that doesn't do any type conversion, taking raw as an input and ActivityResult as an output.
ActivityResultContracts.StartIntentSenderForResultAn ActivityResultContract that calls .
ActivityResultContracts.TakePictureAn ActivityResultContract to saving it into the provided content-.
ActivityResultContracts.TakePicturePreviewAn ActivityResultContract to preview, returning it as a Bitmap.
ActivityResultContracts.TakeVideoAn ActivityResultContract to saving it into the provided content-.