VOSoundPersonalizationOptionBuilder

@interface VOSoundPersonalizationOptionBuilder : VOPersonalizationOptionBuilder

VOSoundPersonalizationOptionBuilder is used only to help construct the VOSoundPersonalizationOption and should not be initialized directly. Instances of these properties should be instantiated and set in the VOSoundPersonalizationOption soundPersonalizationOptionWithBuilder: method.

  • Allow the user to record their sounds and add it to their VOVoucher.

    Declaration

    Objective-C

    @property (assign, readwrite, nonatomic) BOOL canRecord;

    Swift

    var canRecord: Bool { get set }
  • Allow the user to select and add a sound to their VOVoucher from a list of prerecorded sounds fetched from the Vouchr Server.

    Declaration

    Objective-C

    @property (assign, readwrite, nonatomic) BOOL canChoosePreselectedSounds;

    Swift

    var canChoosePreselectedSounds: Bool { get set }
  • The maximum duration of a user’s recorded sound.

    Declaration

    Objective-C

    @property (assign, readwrite, nonatomic) NSInteger maxRecordingLength;

    Swift

    var maxRecordingLength: Int { get set }