Type Aliases

The following type aliases are available globally.

  • Type to handle network request completion

    Declaration

    Swift

    public typealias RequestCompletionHandler = (Response) -> Void
  • Type to represent request body/url options

    Declaration

    Swift

    public typealias RequestOptions = [String : Any]
  • Type to represent request headers

    Declaration

    Swift

    public typealias RequestHeaders = [HTTPHeader : String]
  • Declaration

    Swift

    public typealias NMSPrediction = (classIndex: Int, score: Float, rect: CGRect)
  • Declaration

    Swift

    public typealias ModelMetadata = [String : String]
  • Declaration

    Swift

    public typealias rgbaValue = (r: UInt8, g: UInt8, b: UInt8, a: UInt8)
  • Declaration

    Swift

    public typealias HumanPose = Pose<HumanSkeleton>
  • Declaration

    Swift

    public typealias ConnectedPart<Skeleton> = (Skeleton, Skeleton) where Skeleton : SkeletonType
  • Declaration

    Swift

    public typealias IdentifiedPose<Skeleton> = (pose: Pose<Skeleton>, id: Int, lastIdentifiedAt: Date) where Skeleton : SkeletonType