DBTEAMLOGFileLogInfo

Objective-C

@interface DBTEAMLOGFileLogInfo
    : DBTEAMLOGFileOrFolderLogInfo <DBSerializable, NSCopying>

Swift

class DBTEAMLOGFileLogInfo : DBTEAMLOGFileOrFolderLogInfo, DBSerializable, NSCopying

The FileLogInfo struct.

File’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.

Constructors

  • 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;

    Swift

    init(path: DBTEAMLOGPathLogInfo, displayName: String?, fileId: String?, fileSize: NSNumber?)

    Parameters

    path

    Path relative to event context.

    displayName

    Display name.

    fileId

    Unique ID.

    fileSize

    File or folder size in bytes.

    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.