---
title: INFile
framework: intents
role: symbol
role_heading: Class
path: intents/infile
---

# INFile

An object that describes a file.

## Declaration

```swift
class INFile
```

## Mentioned in

Improving interactions between Siri and your messaging app

## Topics

### Initializing a File Object

- [init(data:filename:typeIdentifier:)](intents/infile/init(data:filename:typeidentifier:).md)
- [init(fileURL:filename:typeIdentifier:)](intents/infile/init(fileurl:filename:typeidentifier:).md)

### Getting the File Information

- [filename](intents/infile/filename.md)
- [data](intents/infile/data.md)
- [fileURL](intents/infile/fileurl.md)
- [typeIdentifier](intents/infile/typeidentifier.md)

### Initializers

- [init(coder:)](intents/infile/init(coder:).md)

### Instance Properties

- [removedOnCompletion](intents/infile/removedoncompletion.md)

## Relationships

### Inherits From

- [NSObject](objectivec/nsobject-swift.class.md)

### Conforms To

- [CVarArg](swift/cvararg.md)
- [CustomDebugStringConvertible](swift/customdebugstringconvertible.md)
- [CustomStringConvertible](swift/customstringconvertible.md)
- [Equatable](swift/equatable.md)
- [Hashable](swift/hashable.md)
- [NSCoding](foundation/nscoding.md)
- [NSObjectProtocol](objectivec/nsobjectprotocol.md)
- [NSSecureCoding](foundation/nssecurecoding.md)
