// Signature format: 2.0 package android.widget.photopicker { public interface EmbeddedPhotoPickerClient { method public void onSelectionComplete(); method public void onSessionError(@NonNull Throwable); method public void onSessionOpened(@NonNull android.widget.photopicker.EmbeddedPhotoPickerSession); method public void onUriPermissionGranted(@NonNull java.util.List); method public void onUriPermissionRevoked(@NonNull java.util.List); } public final class EmbeddedPhotoPickerFeatureInfo implements android.os.Parcelable { method public int describeContents(); method @ColorLong public long getAccentColor(); method public int getMaxSelectionLimit(); method @NonNull public java.util.List getMimeTypes(); method @NonNull public java.util.List getPreSelectedUris(); method public int getThemeNightMode(); method public boolean isOrderedSelection(); method public void writeToParcel(@NonNull android.os.Parcel, int); field @NonNull public static final android.os.Parcelable.Creator CREATOR; } public static final class EmbeddedPhotoPickerFeatureInfo.Builder { ctor public EmbeddedPhotoPickerFeatureInfo.Builder(); method @NonNull public android.widget.photopicker.EmbeddedPhotoPickerFeatureInfo build(); method @NonNull public android.widget.photopicker.EmbeddedPhotoPickerFeatureInfo.Builder setAccentColor(@ColorLong long); method @NonNull public android.widget.photopicker.EmbeddedPhotoPickerFeatureInfo.Builder setMaxSelectionLimit(@IntRange(from=1) int); method @NonNull public android.widget.photopicker.EmbeddedPhotoPickerFeatureInfo.Builder setMimeTypes(@NonNull java.util.List); method @NonNull public android.widget.photopicker.EmbeddedPhotoPickerFeatureInfo.Builder setOrderedSelection(boolean); method @NonNull public android.widget.photopicker.EmbeddedPhotoPickerFeatureInfo.Builder setPreSelectedUris(@NonNull java.util.List); method @NonNull public android.widget.photopicker.EmbeddedPhotoPickerFeatureInfo.Builder setThemeNightMode(int); } public interface EmbeddedPhotoPickerProvider { method public void openSession(@NonNull android.os.IBinder, int, int, int, @NonNull android.widget.photopicker.EmbeddedPhotoPickerFeatureInfo, @NonNull java.util.concurrent.Executor, @NonNull android.widget.photopicker.EmbeddedPhotoPickerClient); } public class EmbeddedPhotoPickerProviderFactory { method @NonNull public static android.widget.photopicker.EmbeddedPhotoPickerProvider create(@NonNull android.content.Context); } public interface EmbeddedPhotoPickerSession { method public void close(); method @NonNull public android.view.SurfaceControlViewHost.SurfacePackage getSurfacePackage(); method public void notifyConfigurationChanged(@NonNull android.content.res.Configuration); method public void notifyPhotoPickerExpanded(boolean); method public void notifyResized(int, int); method public void notifyVisibilityChanged(boolean); method public void requestRevokeUriPermission(@NonNull java.util.List); } }