TTLayerSetProperties
Objective-C
@interface TTLayerSetProperties : NSObject
Swift
class TTLayerSetProperties : NSObject
TTLayerSetProperties - Properties of single layer set. @BETA
-
Determines if and how the visibility of layers shall be modified.
Declaration
Objective-C
@property (nonatomic, readonly) TTLayerVisibility visibility;
Swift
var visibility: TTLayerVisibility { get }
-
Initializes and returns a TTLayerSetProperties with the specified layer ID and visibility information.
Declaration
Objective-C
- (instancetype _Nonnull)initWithSourceID:(NSString *_Nonnull)sourceID withLayerVisibility:(TTLayerVisibility)layerVisibility;
Swift
init(sourceID: String, with layerVisibility: TTLayerVisibility)
Parameters
sourceID
The ID of the layer.
layerVisibility
The visibility of the layer.
Return Value
TTLayerSetProperties