DBTEAMRevokeDeviceSessionStatus

@interface DBTEAMRevokeDeviceSessionStatus
    : NSObject <DBSerializable, NSCopying>

The RevokeDeviceSessionStatus struct.

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

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

    Declaration

    Objective-C

    - (nonnull instancetype)
    initWithSuccess:(nonnull NSNumber *)success
          errorType:(nullable DBTEAMRevokeDeviceSessionError *)errorType;

    Swift

    init(success: NSNumber, errorType: DBTEAMRevokeDeviceSessionError?)

    Parameters

    success

    Result of the revoking request.

    errorType

    The error cause in case of a failure.

    Return Value

    An initialized instance.

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

    Declaration

    Objective-C

    - (nonnull instancetype)initWithSuccess:(nonnull NSNumber *)success;

    Swift

    init(success: NSNumber)

    Parameters

    success

    Result of the revoking request.

    Return Value

    An initialized instance.