Structures

The following structures are available globally.

  • Struct that used to pass the login credentials to SDK

    See more

    Declaration

    Swift

    public struct LoginCredentials
  • A struct that represents a single highlight (event) in the video associated with a single person

    See more

    Declaration

    Swift

    public struct HighlightObject : Equatable, Hashable, Comparable, Codable
  • Bounding box object tied to a frame in the video

    See more

    Declaration

    Swift

    public struct TimedBBox : Codable
  • A SwiftUI view that allows the user to pick a video from the photo library.

    See more

    Declaration

    Swift

    public struct VideoPickerView : UIViewControllerRepresentable
  • Information about a jersey number and the number of highlights associated with it.

    Used in availableJerseyNumbers(dateFrom:dateTo:) call that returns a list of jersey numbers and the number of highlights associated with each.

    See more

    Declaration

    Swift

    public struct JerseyNumberInfo
    extension JerseyNumberInfo: Hashable
  • Information about a group and the number of highlights associated with it.

    Used in availableGroups(dateFrom:dateTo:) call that returns a list of groups, the number of highlights associated with each and the date when this group was processed and saved.

    See more

    Declaration

    Swift

    public struct GroupInfo
    extension GroupInfo: Hashable
  • Camera preview view for SwiftUI

    Wraps given AVCaptureVideoPreviewLayer in SwiftUI view

    See more

    Declaration

    Swift

    public struct CameraPreview : UIViewRepresentable
  • A SwiftUI view that displays the video content of a highlight that HighlightVideoPlayer plays.

    This struct is a SwiftUI wrapper that uses VideoRenderView UIKit based component to display the video content.

    Note

    Use GeometryReader to get the size of the screen area and pass it to the visibleSize parameter.
    See more

    Declaration

    Swift

    public struct VideoPlayerPreview : UIViewRepresentable
  • Basic structure to hold video frame info

    See more

    Declaration

    Swift

    public struct FrameInfo : Equatable, Hashable, Comparable, Codable