STSCategory
@interface STSCategory : LHDataObject
Category model of StraaS player SDK
-
The category id.
Declaration
Objective-C
@property (nonatomic, readonly) NSNumber *_Nonnull categoryId;
Swift
var categoryId: UnsafeMutablePointer<Int32>! { get }
-
The category name.
Declaration
Objective-C
@property (nonatomic, readonly) NSString *_Nonnull name;
Swift
var name: UnsafeMutablePointer<Int32>! { get }
-
The category description.
Declaration
Objective-C
@property (nonatomic, readonly) NSString *_Nonnull categoryDescription;
Swift
var categoryDescription: UnsafeMutablePointer<Int32>! { get }
-
The number of videos which are contained in the category.
Declaration
Objective-C
@property (nonatomic, readonly) NSInteger videosCount;
Swift
var videosCount: Int32 { get }
-
The id of the category which contains this category. If this category has no parentCategoryId, then it is not a subcategory.
Declaration
Objective-C
@property (nonatomic, readonly, nullable) NSNumber *parentCategoryId;
Swift
var parentCategoryId: UnsafeMutablePointer<Int32>? { get }