readAttributeDuration(completionHandler:)

Declaration

func readAttributeDuration(completionHandler: @escaping  @Sendable (NSNumber?, (any Error)?) -> Void)
func readAttributeDuration() async throws -> NSNumber