Bagikan melalui


HKWorkoutRouteBuilder.FinishRoute Metode

Definisi

Overload

FinishRoute(HKWorkout, NSDictionary, Action<HKWorkoutRoute,NSError>)

Menyelesaikan rute dan menyimpannya ke latihan.

FinishRoute(HKWorkout, HKMetadata, Action<HKWorkoutRoute,NSError>)

Menyelesaikan rute dan menyimpannya ke latihan.

FinishRoute(HKWorkout, NSDictionary, Action<HKWorkoutRoute,NSError>)

Menyelesaikan rute dan menyimpannya ke latihan.

[Foundation.Export("finishRouteWithWorkout:metadata:completion:")]
protected virtual void FinishRoute (HealthKit.HKWorkout workout, Foundation.NSDictionary metadata, Action<HealthKit.HKWorkoutRoute,Foundation.NSError> completion);
abstract member FinishRoute : HealthKit.HKWorkout * Foundation.NSDictionary * Action<HealthKit.HKWorkoutRoute, Foundation.NSError> -> unit
override this.FinishRoute : HealthKit.HKWorkout * Foundation.NSDictionary * Action<HealthKit.HKWorkoutRoute, Foundation.NSError> -> unit

Parameter

workout
HKWorkout

Latihan untuk menambahkan rute.

metadata
NSDictionary

Metadata untuk rute.

completion
Action<HKWorkoutRoute,NSError>

Handler untuk dijalankan saat operasi selesai.

Atribut

Berlaku untuk

FinishRoute(HKWorkout, HKMetadata, Action<HKWorkoutRoute,NSError>)

Menyelesaikan rute dan menyimpannya ke latihan.

public void FinishRoute (HealthKit.HKWorkout workout, HealthKit.HKMetadata metadata, Action<HealthKit.HKWorkoutRoute,Foundation.NSError> completion);
member this.FinishRoute : HealthKit.HKWorkout * HealthKit.HKMetadata * Action<HealthKit.HKWorkoutRoute, Foundation.NSError> -> unit

Parameter

workout
HKWorkout

Latihan untuk menambahkan rute.

metadata
HKMetadata

Metadata untuk rute.

completion
Action<HKWorkoutRoute,NSError>

Handler untuk dijalankan saat operasi selesai.

Berlaku untuk