duration The length of time, in seconds, that the session spans. Declarationvar duration: TimeInterval { get }