ActivityResultContracts.PickVisualMedia.SingleMimeType


public final class ActivityResultContracts.PickVisualMedia.SingleMimeType implements ActivityResultContracts.PickVisualMedia.VisualMediaType


VisualMediaType class used to filter a single mime type only when using the photo picker.

Summary

Public constructors

Public methods

final @NonNull String

Public constructors

SingleMimeType

Added in 1.6.0
public SingleMimeType(@NonNull String mimeType)

Public methods

getMimeType

Added in 1.6.0
public final @NonNull String getMimeType()