BNBBodyTracker

Objective-C

@interface BNBBodyTracker : NSObject

/**
 *Fabric method for body_tracker creating.
 *@return created (body_tracker).
 */
+ (nullable BNBBodyTracker *)create;

/**@return tracker type. */
- (BNBBodyTrackerType)getType;

/**@return tracker type. */
- (void)setType:(BNBBodyTrackerType)type;

- (void)setBodyIndex:(int32_t)index;

- (int32_t)getBodyIndex;

/**@return upcast to base type */
- (nullable BNBComponent *)asComponent;

@end

Swift

class BNBBodyTracker : NSObject

Undocumented

  • Fabric method for body_tracker creating.

    Declaration

    Objective-C

    + (nullable BNBBodyTracker *)create;

    Swift

    class func create() -> BNBBodyTracker?

    Return Value

    created (body_tracker).

  • Declaration

    Objective-C

    - (BNBBodyTrackerType)getType;

    Swift

    func getType() -> BNBBodyTrackerType

    Return Value

    tracker type.

  • Declaration

    Objective-C

    - (void)setType:(BNBBodyTrackerType)type;

    Swift

    func setType(_ type: BNBBodyTrackerType)

    Return Value

    tracker type.

  • Undocumented

    Declaration

    Objective-C

    - (void)setBodyIndex:(int32_t)index;

    Swift

    func setBodyIndex(_ index: Int32)
  • Undocumented

    Declaration

    Objective-C

    - (int32_t)getBodyIndex;

    Swift

    func getBodyIndex() -> Int32
  • Declaration

    Objective-C

    - (nullable BNBComponent *)asComponent;

    Swift

    func asComponent() -> BNBComponent?

    Return Value

    upcast to base type