VGSFileInfo

public class VGSFileInfo : NSObject, VGSFileInfoProtocol

An object that holds optional files’ metadata on selecting file through VGSFilePickerController.

  • File extension, like “jpeg”, “png”, etc.

    Note

    Returns the path extension of the file URL, or an empty string if the path is an empty string.

    Declaration

    Swift

    public let fileExtension: String?
  • File size.

    Declaration

    Swift

    public let size: Int
  • File size units.

    Declaration

    Swift

    public let sizeUnits: String?