Stay organized with collections
Save and categorize content based on your preferences.
EmbeddedPhotoPickerProviderFactory
open class EmbeddedPhotoPickerProviderFactory
Interface to get instance of EmbeddedPhotoPickerProvider
class to request a new EmbeddedPhotoPickerSession
.
This class creates and maintains the binding/unbinding to embedded photopicker service on behalf of the caller. It makes IPC call to the service using binder android.widget.photopicker.IEmbeddedPhotoPicker to get a new session.
Summary
Public methods
Content and code samples on this page are subject to the licenses described in the Content License. Java and OpenJDK are trademarks or registered trademarks of Oracle and/or its affiliates.
Last updated 2025-03-13 UTC.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Missing the information I need","missingTheInformationINeed","thumb-down"],["Too complicated / too many steps","tooComplicatedTooManySteps","thumb-down"],["Out of date","outOfDate","thumb-down"],["Samples / code issue","samplesCodeIssue","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-03-13 UTC."],[],[],null,["# EmbeddedPhotoPickerProviderFactory\n\nAdded in [API level 36](https://developer.android.com/guide/topics/manifest/uses-sdk-element.html#ApiLevels) \nAlso in [U Extensions 15](https://developer.android.com/sdkExtensions)\n\nEmbeddedPhotoPickerProviderFactory\n==================================\n\n*** ** * ** ***\n\nKotlin \\|[Java](/reference/android/widget/photopicker/EmbeddedPhotoPickerProviderFactory \"View this page in Java\") \n\n```\nopen class EmbeddedPhotoPickerProviderFactory\n```\n\n|---|--------------------------------------------------------------------|\n| [kotlin.Any](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-any/index.html) ||\n| ↳ | [android.widget.photopicker.EmbeddedPhotoPickerProviderFactory](#) |\n\nInterface to get instance of [EmbeddedPhotoPickerProvider](/reference/kotlin/android/widget/photopicker/EmbeddedPhotoPickerProvider) class to request a new [EmbeddedPhotoPickerSession](/reference/kotlin/android/widget/photopicker/EmbeddedPhotoPickerSession).\n\nThis class creates and maintains the binding/unbinding to embedded photopicker service on behalf of the caller. It makes IPC call to the service using binder android.widget.photopicker.IEmbeddedPhotoPicker to get a new session.\n\nSummary\n-------\n\n| Public methods ||\n|---------------------------------------------------------------------------------------------------------------------|-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|\n| open static [EmbeddedPhotoPickerProvider](/reference/kotlin/android/widget/photopicker/EmbeddedPhotoPickerProvider) | [create](#create(android.content.Context))`(`context:` `[Context](../../content/Context.html#)`)` Returns an implementation of [EmbeddedPhotoPickerProvider](/reference/kotlin/android/widget/photopicker/EmbeddedPhotoPickerProvider) class. |\n\nPublic methods\n--------------\n\n### create\n\nAdded in [API level 36](https://developer.android.com/guide/topics/manifest/uses-sdk-element.html#ApiLevels) \nAlso in [U Extensions 15](https://developer.android.com/sdkExtensions) \n\n```\nopen static fun create(context: Context): EmbeddedPhotoPickerProvider\n```\n\nReturns an implementation of [EmbeddedPhotoPickerProvider](/reference/kotlin/android/widget/photopicker/EmbeddedPhotoPickerProvider) class.\n\n| Parameters ||\n|-----------|----------------------------------------------------------------------|\n| `context` | [Context](../../content/Context.html#): This value cannot be `null`. |\n\n| Return ||\n|---------------------------------------------------------------------------------------------------------|------------------------------|\n| [EmbeddedPhotoPickerProvider](/reference/kotlin/android/widget/photopicker/EmbeddedPhotoPickerProvider) | This value cannot be `null`. |"]]