Target

public class Target : NSObject

Tracked target.

  • Id of the target

    Declaration

    Swift

    public internal(set) var targetId: UInt { get }
  • Cookie of the target defined previously by user.

    Declaration

    Swift

    public internal(set) var cookie: UInt { get }
  • Tracking state.

    Declaration

    Swift

    public internal(set) var state: TrackingState { get }
  • Constructor.

    Declaration

    Swift

    public init(targetId: UInt, cookie: UInt, state: TrackingState)

    Parameters

    targetId

    id of the target.

    cookie

    cookie given by user to the target

    state

    tracking state