One Logo Pool Ball
LinkPresentation · IOS API REFERENCE

LPMetadataProvider

class · iOS 13.0+ · SDK 27.1

class LPMetadataProvider

Members (8)

method · iOS 13.0+

cancel

TypeScript
cancel(): void
Swift declaration
func cancel()
init

init

TypeScript
static init(): LPMetadataProvider
Swift declaration
init()
method · iOS 15.0+

startFetchingMetadata

TypeScript
startFetchingMetadataForCompletionHandler(request: _Foundation_URLRequest, completionHandler: ((arg0: (LPLinkMetadata) | null, arg1: (NativeError) | null) => void)): void
Swift declaration
func startFetchingMetadata(for request: URLRequest) async throws -> LPLinkMetadata
method · iOS 13.0+

startFetchingMetadata

TypeScript
startFetchingMetadataForCompletionHandler54315(URL: string, completionHandler: ((arg0: (LPLinkMetadata) | null, arg1: (NativeError) | null) => void)): void
Swift declaration
func startFetchingMetadata(for URL: URL) async throws -> LPLinkMetadata
get · iOS 13.0+

shouldFetchSubresources

TypeScript
get shouldFetchSubresources(): boolean
Swift declaration
var shouldFetchSubresources: Bool { get set }
set · iOS 13.0+

shouldFetchSubresources

TypeScript
set shouldFetchSubresources(value: boolean)
Swift declaration
var shouldFetchSubresources: Bool { get set }
get · iOS 13.0+

timeout

TypeScript
get timeout(): number
Swift declaration
var timeout: TimeInterval { get set }
set · iOS 13.0+

timeout

TypeScript
set timeout(value: number)
Swift declaration
var timeout: TimeInterval { get set }

Skipped declarations

No declarations were skipped in this snapshot.

All LinkPresentation types →