getWearingDuration

fun getWearingDuration(units: TimeUnit = TimeUnit.SECONDS): Long

Returns wearing duration in specified units. Default units: TimeUnit.SECONDS.

Return

wearing duration in specified units

Parameters

units

what units of time to return the wearing duration