VOVideoPersonalizationOption

@interface VOVideoPersonalizationOption : VOPersonalizationOption

VOVideoPersonalizationOption represents a VOVoucher customization which will be available to the user to add videos in the voucher creation view controller. Instantiate a VOVideoPersonalizationOption if you would like the user to be able to add videos to their VOVoucher. *

  • Theme used on the VOFullScreenCameraViewController.

    Note

    Default is VOConfig defaultTheme.

    Declaration

    Objective-C

    @property (assign, readwrite, nonatomic) VOTheme *takeAVideoVouchrTheme;

    Swift

    var takeAVideoVouchrTheme: VOTheme! { get set }
  • Allows Youtube videos to be added.

    Note

    Default is YES.

    Declaration

    Objective-C

    @property (readonly, nonatomic) BOOL canAddYoutubeVideos;

    Swift

    var canAddYoutubeVideos: Bool { get }
  • Allows the user to add a self recorded video.

    Note

    Default is YES.

    Declaration

    Objective-C

    @property (readonly, nonatomic) BOOL canTakeVideo;

    Swift

    var canTakeVideo: Bool { get }
  • The maximum time length a video can have.

    Note

    Default is ___.

    Declaration

    Objective-C

    @property (readonly, nonatomic) NSInteger maxVideoLength;

    Swift

    var maxVideoLength: Int { get }
  • The maximum size a video can have.

    Note

    Default is ___.

    Declaration

    Objective-C

    @property (readonly, nonatomic) NSInteger maxVideoSize;

    Swift

    var maxVideoSize: Int { get }
  • The level of compression that is being applied to a video.

    Note

    Default is ‘MediumQuality’.

    Declaration

    Objective-C

    @property (readonly, nonatomic) VOVideoExportPreset videoCompressionLevel;

    Swift

    var videoCompressionLevel: VOVideoExportPreset { get }
  • The maximum number of videos returned by Youtube API. Setting to zero to enable pagination and fetch all results.

    Note

    Default is 0.

    Declaration

    Objective-C

    @property (readonly, nonatomic) NSInteger maxYoutubeSearchResults;

    Swift

    var maxYoutubeSearchResults: Int { get }
  • Allows the user to search Youtube.

    Note

    Default is YES.

    Declaration

    Objective-C

    @property (readonly, nonatomic) BOOL canSearchYoutube;

    Swift

    var canSearchYoutube: Bool { get }
  • Allows the video to be clipped.

    Note

    Default is YES.

    Declaration

    Objective-C

    @property (readonly, nonatomic) BOOL canClipYoutube;

    Swift

    var canClipYoutube: Bool { get }
  • Converts a string to enum VOVideoExportPreset.

    Declaration

    Objective-C

    - (VOVideoExportPreset)videoExportPresetFromString:(NSString *)exportPresetName;

    Swift

    func videoExportPreset(from exportPresetName: String!) -> VOVideoExportPreset

    Parameters

    exportPresetName

    - string value of the VOVideoExportPreset.

    Return Value

    VOVideoExportPreset enum value.

  • Converts a VOVideoExportPreset enum to a string.

    Declaration

    Objective-C

    - (NSString *)stringFromVideoExportPreset:(VOVideoExportPreset)exportPresetName;

    Swift

    func string(from exportPresetName: VOVideoExportPreset) -> String!

    Parameters

    exportPresetName

    - VOVideoExportPreset enum value.

    Return Value

    string version of VOVideoExportPreset.

  • Creates a video personalization option with the values from the builder. Internally calls initWithBuilder.

    Declaration

    Objective-C

    + (instancetype)videoPersonalizationOptionWithBuilderBlock:
        (void (^)(VOVideoPersonalizationOptionBuilder *))builderBlock;

    Swift

    convenience init!(builderBlock: ((VOVideoPersonalizationOptionBuilder?) -> Void)!)

    Parameters

    builderBlock

    - the builder block with specified values for each property.

    Return Value

    instancetype - VOVideoPersonalizationOption object.