Contents

audiogram(_:)

Returns a sample predicate that matches audiogram samples.

Declaration

static func audiogram(_ predicate: NSPredicate? = nil) -> HKSamplePredicate<HKAudiogramSample>

Parameters

  • predicate:

    An optional predicate that further restricts the results that the query returns.

Discussion

Use this method to create an HKSamplePredicate instance that you can use to query for HKAudiogramSample objects.

See Also

Creating Sample Predicates