SCCameraKitLensMediaPickerProviderPhotoLibrary

Objective-C


@interface SCCameraKitLensMediaPickerProviderPhotoLibrary
    : NSObject <SCCameraKitLensMediaPickerProvider>

Swift

class LensMediaPickerProviderPhotoLibrary : NSObject, LensMediaPickerProvider

A default implementation of SCCameraKitLensMediaPickerProvider that uses the user’s photos library.

  • Initializes the photo library provider.

    Declaration

    Objective-C

    - (nonnull instancetype)initWithDefaultAssetTypes:
        (SCCameraKitLensMediaPickerProviderAllowedMediaType)defaultAssetTypes;

    Parameters

    defaultAssetTypes

    a bitmask specifying which types of assets the picker will display when the lens does not indicate interest in a specific type of asset. MUST not be LensMediaPickerProviderAllowedMediaTypeNoneSpecified.

  • Unavailable

    Use designated init or convenience init

    Declaration

    Objective-C

    - (nonnull instancetype)init;
  • Unavailable

    Undocumented

    Declaration

    Objective-C

    + (instancetype)new NS_UNAVAILABLE;