One Logo Pool Ball
MapKit · IOS API REFERENCE

MKDirections

class · iOS 7.0+ · SDK 27.1

class MKDirections

Members (5)

method · iOS 7.0+

calculate

TypeScript
calculate(completionHandler: ((arg0: (MKDirections_Response) | null, arg1: (NativeError) | null) => void)): void
Swift declaration
func calculate() async throws -> MKDirections.Response
method · iOS 7.0+

calculateETA

TypeScript
calculateETA(completionHandler: ((arg0: (MKDirections_ETAResponse) | null, arg1: (NativeError) | null) => void)): void
Swift declaration
func calculateETA() async throws -> MKDirections.ETAResponse
method · iOS 7.0+

cancel

TypeScript
cancel(): void
Swift declaration
func cancel()
init · iOS 7.0+

init

TypeScript
static init(request: MKDirections_Request): MKDirections
Swift declaration
init(request: MKDirections.Request)
get · iOS 7.0+

isCalculating

TypeScript
get isCalculating(): boolean
Swift declaration
var isCalculating: Bool { get }

Skipped declarations

1 declarations were excluded from these bindings. Each reason comes from the generator or the iOS SDK compiler.

MKDirections.init()

inherited init: cannot prove legal (class declares 1 custom initializer)

All MapKit types →