Type Method

defaultSource

Returns a source object for the current app.

Declaration

+ (HKSource *)defaultSource;

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.