FilePermission

public class FilePermission : CustomStringConvertible, JSONRepresentable

Whether the user is allowed to take the sharing action on the file.

  • The action that the user may wish to take on the file.

    Declaration

    Swift

    public let action: Sharing.FileAction
  • True if the user is allowed to take the action.

    Declaration

    Swift

    public let allow: Bool
  • The reason why the user is denied the permission. Not present if the action is allowed.

    Declaration

    Swift

    public let reason: Sharing.PermissionDeniedReason?
  • Declaration

    Swift

    public var description: String { get }