Visibility

public enum Visibility : CustomStringConvertible

Who can access a shared link. The most open visibility is public_. The default depends on many aspects, such as team and user preferences and shared folder settings.

  • Anyone who has received the link can access it. No login required.

    Declaration

    Swift

    case public_
  • Only members of the same team can access the link. Login is required.

    Declaration

    Swift

    case teamOnly
  • A link-specific password is required to access the link. Login is not required.

    Declaration

    Swift

    case password
  • Only members of the same team who have the link-specific password can access the link.

    Declaration

    Swift

    case teamAndPassword
  • Only members of the shared folder containing the linked file can access the link. Login is required.

    Declaration

    Swift

    case sharedFolderOnly
  • An unspecified error.

    Declaration

    Swift

    case other
  • Declaration

    Swift

    public var description: String { get }