WOVER

@objc final public class WOVER: NSObject

WOVER’s main interaction point. Allows for WOVER setup and configuration. Also exposes interfaces to interact with WOVER service.

  • Provides WOVER’s functionality related to user and contacts management.

    Declaration

    Swift

    public let userManager: WOVUserManager!
  • Provides WOVER’s functionality related to user’s emergency and safety management

    Declaration

    Swift

    public let emergencyManager: WOVEmergencyManager!
  • WOVER shared instance.

    Declaration

    Swift

    public class func sharedInstance() -> WOVER

    Return Value

    A WOVER instance.

  • Setups WOVER with appropriate API key, UIApplication and enable/disables functionality

    Declaration

    Swift

    public class func setup(apiKey: String, application: UIApplication , healthKit: Bool = true)

    Parameters

    apiKey

    A string with API key used to connect WOVER service

    application

    A instance

    healthKit

    A boolean to enable or not Health Kit functionality

  • Requests user’s permission for location monitoring.

    Declaration

    Swift

    @objc public final func requestLocationPermission()
  • Requests user’s permission for motions monitoring.

    Declaration

    Swift

    @objc public final func requestMotionPermission()
  • Requests user’s permission for health store monitoring.

    Declaration

    Swift

    @objc public final func requestHealthPermission()