Type Method

default()

Returns a source object for the current app.

Declaration

class func `default`() -> HKSource

Return Value

A source object for the current app.

Discussion

You can access the source object for the current app directly using this methods. To access other sources, use a source query or similar approach.