DBTEAMRevokeDesktopClientArg

Objective-C

@interface DBTEAMRevokeDesktopClientArg
    : DBTEAMDeviceSessionArg <DBSerializable, NSCopying>

Swift

class DBTEAMRevokeDesktopClientArg : DBTEAMDeviceSessionArg, DBSerializable, NSCopying

The RevokeDesktopClientArg struct.

This class implements the DBSerializable protocol (serialize and deserialize instance methods), which is required for all Obj-C SDK API route objects.

Instance fields

  • Whether to delete all files of the account (this is possible only if supported by the desktop client and will be made the next time the client access the account).

    Declaration

    Objective-C

    @property (nonatomic, readonly) NSNumber *_Nonnull deleteOnUnlink;

    Swift

    var deleteOnUnlink: NSNumber { get }

Constructors

  • Full constructor for the struct (exposes all instance variables).

    Declaration

    Objective-C

    - (nonnull instancetype)initWithSessionId:(nonnull NSString *)sessionId
                                 teamMemberId:(nonnull NSString *)teamMemberId
                               deleteOnUnlink:(nullable NSNumber *)deleteOnUnlink;

    Swift

    init(sessionId: String, teamMemberId: String, deleteOnUnlink: NSNumber?)

    Parameters

    sessionId

    The session id.

    teamMemberId

    The unique id of the member owning the device.

    deleteOnUnlink

    Whether to delete all files of the account (this is possible only if supported by the desktop client and will be made the next time the client access the account).

    Return Value

    An initialized instance.

  • Convenience constructor (exposes only non-nullable instance variables with no default value).

    Declaration

    Objective-C

    - (nonnull instancetype)initWithSessionId:(nonnull NSString *)sessionId
                                 teamMemberId:(nonnull NSString *)teamMemberId;

    Swift

    init(sessionId: String, teamMemberId: String)

    Parameters

    sessionId

    The session id.

    teamMemberId

    The unique id of the member owning the device.

    Return Value

    An initialized instance.