DBSHARINGRevokeSharedLinkArg

Objective-C

@interface DBSHARINGRevokeSharedLinkArg : NSObject <DBSerializable, NSCopying>

Swift

class DBSHARINGRevokeSharedLinkArg : NSObject, DBSerializable, NSCopying

The RevokeSharedLinkArg 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

  • url

    URL of the shared link.

    Declaration

    Objective-C

    @property (nonatomic, copy, readonly) NSString *_Nonnull url;

    Swift

    var url: String { get }

Constructors

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

    Declaration

    Objective-C

    - (nonnull instancetype)initWithUrl:(nonnull NSString *)url;

    Swift

    init(url: String)

    Parameters

    url

    URL of the shared link.

    Return Value

    An initialized instance.