DBFILESHighlightSpan
Objective-C
@interface DBFILESHighlightSpan : NSObject <DBSerializable, NSCopying>
                Swift
class DBFILESHighlightSpan : NSObject, DBSerializable, NSCopying
                The HighlightSpan struct.
This class implements the DBSerializable protocol (serialize and
deserialize instance methods), which is required for all Obj-C SDK API route
objects.
- 
                  
                  
String to be determined whether it should be highlighted or not.
Declaration
Objective-C
@property (nonatomic, copy, readonly) NSString *_Nonnull highlightStr;Swift
var highlightStr: String { get } - 
                  
                  
The string should be highlighted or not.
Declaration
Objective-C
@property (nonatomic, readonly) NSNumber *_Nonnull isHighlighted;Swift
var isHighlighted: NSNumber { get } 
- 
                  
                  
Full constructor for the struct (exposes all instance variables).
Declaration
Objective-C
- (nonnull instancetype)initWithHighlightStr:(nonnull NSString *)highlightStr isHighlighted:(nonnull NSNumber *)isHighlighted;Swift
init(highlightStr: String, isHighlighted: NSNumber)Parameters
highlightStrString to be determined whether it should be highlighted or not.
isHighlightedThe string should be highlighted or not.
Return Value
An initialized instance.
 
View on GitHub
        DBFILESHighlightSpan Class Reference