An object that describes a file.
SDKs
- iOS 13.0+
- Mac Catalyst 13.0+
- watchOS 6.0+
Framework
- Intents
Declaration
class INFile : NSObject
An object that describes a file.
SDKs
Framework
class INFile : NSObject
init(data: Data, filename: String, type Identifier: String?)
Creates a new file object with the specified data and identifier.
init(file URL: URL, filename: String?, type Identifier: String?)
Creates a new file object with the specified URL and identifier.
var filename: String
The name of the file.
var data: Data
The data associated with a file.
var file URL: URL?
The URL that describes the location of the file.
var type Identifier: String?
The type of the file.