DBTEAMLOGFolderLogInfo
Objective-C
@interface DBTEAMLOGFolderLogInfo
: DBTEAMLOGFileOrFolderLogInfo <DBSerializable, NSCopying>
Swift
class DBTEAMLOGFolderLogInfo : DBTEAMLOGFileOrFolderLogInfo, DBSerializable, NSCopying
The FolderLogInfo struct.
Folder’s logged information.
This class implements the DBSerializable protocol (serialize and
deserialize instance methods), which is required for all Obj-C SDK API route
objects.
-
Number of files within the folder.
Declaration
Objective-C
@property (nonatomic, readonly, nullable) NSNumber *fileCount;Swift
var fileCount: NSNumber? { get }
-
Full constructor for the struct (exposes all instance variables).
Declaration
Objective-C
- (nonnull instancetype)initWithPath:(nonnull DBTEAMLOGPathLogInfo *)path displayName:(nullable NSString *)displayName fileId:(nullable NSString *)fileId fileSize:(nullable NSNumber *)fileSize fileCount:(nullable NSNumber *)fileCount;Swift
init(path: DBTEAMLOGPathLogInfo, displayName: String?, fileId: String?, fileSize: NSNumber?, fileCount: NSNumber?)Parameters
pathPath relative to event context.
displayNameDisplay name.
fileIdUnique ID.
fileSizeFile or folder size in bytes.
fileCountNumber of files within the folder.
Return Value
An initialized instance.
-
Convenience constructor (exposes only non-nullable instance variables with no default value).
Declaration
Objective-C
- (nonnull instancetype)initWithPath:(nonnull DBTEAMLOGPathLogInfo *)path;Swift
init(path: DBTEAMLOGPathLogInfo)Parameters
pathPath relative to event context.
Return Value
An initialized instance.
View on GitHub
DBTEAMLOGFolderLogInfo Class Reference