MSFClickInfo

Objective-C


@interface MSFClickInfo : NSObject {
  void *swigCPtr;
  BOOL swigCMemOwn;
}

Swift

class MSFClickInfo : NSObject

A basic click information object. Contains information about click type, duration.

  • Checks if this object is equal to the specified object.

    Declaration

    Objective-C

    - (BOOL)isEqual:(id)object;

    Swift

    func isEqual(_ object: Any!) -> Bool

    Parameters

    object

    The reference object.

    Return Value

    True when objects are equal, false otherwise.

  • Returns the hash value of this object.

    Declaration

    Objective-C

    - (NSUInteger)hash;

    Swift

    func hash() -> UInt

    Return Value

    The hash value of this object.

  • Constructs a ClickInfo object from a click type and click duration.

    Declaration

    Objective-C

    - (id)initWithClickType:(enum MSFClickType)clickType duration:(float)duration;

    Swift

    init!(clickType: MSFClickType, duration: Float)

    Parameters

    clickType

    The click type.

    duration

    The click duration (in seconds).

  • Returns the click type.

    Declaration

    Objective-C

    - (enum MSFClickType)getClickType;

    Swift

    func getClickType() -> MSFClickType

    Return Value

    The type of the click performed.

  • Returns the click duration in seconds.

    Declaration

    Objective-C

    - (float)getDuration;

    Swift

    func getDuration() -> Float

    Return Value

    The click duration in seconds.

  • Checks for equality between this and another click info.

    Declaration

    Objective-C

    - (BOOL)isEqualInternal:(MSFClickInfo *)clickInfo;

    Swift

    func isEqualInternal(_ clickInfo: MSFClickInfo!) -> Bool

    Parameters

    clickInfo

    The other click info.

    Return Value

    True if equal.

  • Returns the hash value of this object.

    Declaration

    Objective-C

    - (int)hashInternal;

    Swift

    func hashInternal() -> Int32

    Return Value

    The hash value of this object.

  • Creates a string representation of this click info, useful for logging.

    Declaration

    Objective-C

    - (NSString *)description;

    Swift

    func description() -> String!

    Return Value

    The string representation of this click info.

  • Undocumented

    Declaration

    Objective-C

    -(void)dealloc;

    Swift

    func dealloc()