GSKTriggerDecider

Objective-C

@interface GSKTriggerDecider : NSObject

Swift

class GSKTriggerDecider : NSObject

An object to determine when there is enough stability to trigger a photo.

  • The duration during which the user needs to stay stable before a photo is triggered.

    This is a read-only property; it’s exposed so that you can play an animation during that duration. In Genius Scan, this corresponds to the ring closing around the shutter button.

    Declaration

    Objective-C

    + (NSTimeInterval)minDurationInAboutToTriggerForTrigger;

    Swift

    class func minDurationInAboutToTriggerForTrigger() -> TimeInterval
  • Undocumented

    Declaration

    Objective-C

    - (instancetype)init;

    Swift

    convenience init!()
  • Undocumented

    Declaration

    Objective-C

    - (instancetype)initWithAnalyzer:(GSKQuadrangleStreamAnalyzer *)analyzer NS_DESIGNATED_INITIALIZER;

    Swift

    init!(analyzer: GSKQuadrangleStreamAnalyzer!)
  • Undocumented

    Declaration

    Objective-C

    - (void)reset;

    Swift

    func reset()
  • Undocumented

    Declaration

    Objective-C

    - (void)feedQuadrangle:(GSKQuadrangle *)quadrangle;

    Swift

    func feedQuadrangle(_ quadrangle: GSKQuadrangle!)
  • Undocumented

    Declaration

    Objective-C

    @property (nonatomic, weak) id <GSKTriggerDeciderDelegate> delegate

    Swift

    weak var delegate: GSKTriggerDeciderDelegate! { get set }