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
path
Path relative to event context.
displayName
Display name.
fileId
Unique ID.
fileSize
File or folder size in bytes.
fileCount
Number 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
path
Path relative to event context.
Return Value
An initialized instance.