DBTEAMLOGSharingFolderJoinPolicy

@interface DBTEAMLOGSharingFolderJoinPolicy
    : NSObject <DBSerializable, NSCopying>

The SharingFolderJoinPolicy union.

Policy for controlling if team members can join shared folders owned by non team members.

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

  • Initializes union class with tag state of from_anyone.

    Declaration

    Objective-C

    - (nonnull instancetype)initWithFromAnyone;

    Swift

    init(fromAnyone: ())

    Return Value

    An initialized instance.

  • Initializes union class with tag state of from_team_only.

    Declaration

    Objective-C

    - (nonnull instancetype)initWithFromTeamOnly;

    Swift

    init(fromTeamOnly: ())

    Return Value

    An initialized instance.

  • Initializes union class with tag state of other.

    Declaration

    Objective-C

    - (nonnull instancetype)initWithOther;

    Swift

    init(other: ())

    Return Value

    An initialized instance.

  • Retrieves whether the union’s current tag state has value from_anyone.

    Declaration

    Objective-C

    - (BOOL)isFromAnyone;

    Swift

    func isFromAnyone() -> Bool

    Return Value

    Whether the union’s current tag state has value from_anyone.

  • Retrieves whether the union’s current tag state has value from_team_only.

    Declaration

    Objective-C

    - (BOOL)isFromTeamOnly;

    Swift

    func isFromTeamOnly() -> Bool

    Return Value

    Whether the union’s current tag state has value from_team_only.

  • Retrieves whether the union’s current tag state has value other.

    Declaration

    Objective-C

    - (BOOL)isOther;

    Swift

    func isOther() -> Bool

    Return Value

    Whether the union’s current tag state has value other.

  • Retrieves string value of union’s current tag state.

    Declaration

    Objective-C

    - (nonnull NSString *)tagName;

    Swift

    func tagName() -> String

    Return Value

    A human-readable string representing the union’s current tag state.