One Logo Pool Ball
CoreTransferable · IOS API REFERENCE

SentTransferredFile

struct · iOS 16.0+ · SDK 27.1

struct SentTransferredFile

A description of a file from the perspective of the sender.

Members (3)

get · iOS 16.0+

allowAccessingOriginalFile

TypeScript
get allowAccessingOriginalFile(): boolean
Swift declaration
let allowAccessingOriginalFile: Bool

A Boolean value that indicates whether the receiver can read and write the original file. When set to `false`, the receiver can only gain access to a copy of the file.

get · iOS 16.0+

file

TypeScript
get file(): string
Swift declaration
let file: URL

A URL that describes the location of the file.

init · iOS 16.0+

init

TypeScript
static init(file: string, allowAccessingOriginalFile?: boolean): SentTransferredFile
Swift declaration
init(_ file: URL, allowAccessingOriginalFile: Bool = false)

Creates a description of a file from the perspective of the sender. - Parameters: - file: A URL that describes the location of the file. - allowAccessingOriginalFile: A Boolean value that indicates whether the receiver can read and write the original file. When set to `false`, the receiver can only gain access to a copy of the file.

Skipped declarations

No declarations were skipped in this snapshot.

All CoreTransferable types →