Constants

The following constants are available globally.

  • Error domain of the LunaCore module.

    Declaration

    Objective-C

    static NSString *const kBestShotErrorDomain =
        @"ru.visionlabs.lunacore.error.domain"

    Swift

    let kBestShotErrorDomain: String
  • File name constant for recorded video file

    Declaration

    Objective-C

    static NSString *const LMRecordedVideoID = @"LMRecordedVideo"
  • Folder name constant for recorded video file

    Declaration

    Objective-C

    static const NSString *LMVisionLabsFolder = @"vision_labs"
  • Expected width of recorded video

    Declaration

    Objective-C

    static const CGFloat kVideoWidth = 720
  • Expected height of recorded video

    Declaration

    Objective-C

    static const CGFloat kVideoHeight = 1280
  • Expected fps of recorded video

    Declaration

    Objective-C

    static const CGFloat kVideoFps = 30
  • Project version number for LunaCamera.

    Declaration

    Objective-C

    extern double LunaCameraVersionNumber

    Swift

    var LunaCameraVersionNumber: Double
  • Project version string for LunaCamera.

    Declaration

    Objective-C

    extern const unsigned char LunaCameraVersionString[]

    Swift

    let LunaCameraVersionString: <<error type>>