ASFaspSessionStats
@interface ASFaspSessionStats
contains statistics for a FASP session
-
The bytes written in the current transfer, over the entire session. For HTTP fallback sessions, the bytes written for the current file being transferred
Declaration
Objective-C
@property (assign, readwrite, nonatomic) unsigned long long bytesWritten;Swift
var bytesWritten: UInt64 { get set } -
The total size of the files in the session. For HTTP fallback sessions, the total size of the current file being transferred
Declaration
Objective-C
@property (assign, readwrite, nonatomic) unsigned long long bytesTotal;Swift
var bytesTotal: UInt64 { get set } -
The bytes remaining to be transferred for all files in this session. For HTTP fallback sessions, the bytes remaining to be transferred for the current file.
Declaration
Objective-C
@property (assign, readwrite, nonatomic) unsigned long long bytesRemaining;Swift
var bytesRemaining: UInt64 { get set } -
The bytes already transferred for all files in this session. For HTTP fallback sessions, the bytes transferred for the current file
Declaration
Objective-C
@property (assign, readwrite, nonatomic) unsigned long long bytesTransferred;Swift
var bytesTransferred: UInt64 { get set } -
The number of microsecond elapsed since the beginning of the transfer
Declaration
Objective-C
@property (assign, readwrite, nonatomic) unsigned long long microsecondsElapsed;Swift
var microsecondsElapsed: UInt64 { get set } -
The number of seconds elapsed since the beginning of the transfer
Declaration
Objective-C
@property (assign, readwrite, nonatomic) double secondsElapsed;Swift
var secondsElapsed: Double { get set } -
A fractional value between 0.0 and 1.0 indicating the progress of the session. For HTTP fallback sessions, the progress of the current file - if multiple files are transferred in one HTTP fallback session this value will go from 0.0 to 1.0 for each of these files
Declaration
Objective-C
@property (assign, readwrite, nonatomic) double progress;Swift
var progress: Double { get set } -
The current instantaneous transfer rate. This rate may fluctuate and is not usually suitable for display in the UI
Declaration
Objective-C
@property (assign, readwrite, nonatomic) double instantaneousBitsPerSecond;Swift
var instantaneousBitsPerSecond: Double { get set } -
The current transfer rate averaged over a short period of time. This rate is stable and is suitable for display in the UI
Declaration
Objective-C
@property (assign, readwrite, nonatomic) double averageBitsPerSecond;Swift
var averageBitsPerSecond: Double { get set } -
The average time currently remaining until the transfer completes, in seconds
Declaration
Objective-C
@property (assign, readwrite, nonatomic) double averageSecondsRemaining;Swift
var averageSecondsRemaining: Double { get set } -
The effective rate of the transfer (in bps). Only available after a session ends
Declaration
Objective-C
@property (assign, readwrite, nonatomic) double effectiveRate;Swift
var effectiveRate: Double { get set } -
The number of files whose transfer completed successfully. Only available after a session ends
Declaration
Objective-C
@property (assign, readwrite, nonatomic) unsigned long long filesCompleted;Swift
var filesCompleted: UInt64 { get set } -
The number of files whose transfer failed. Only available after a session ends
Declaration
Objective-C
@property (assign, readwrite, nonatomic) unsigned long long filesFailed;Swift
var filesFailed: UInt64 { get set } -
The number of files that were skipped. Only available after a session ends
Declaration
Objective-C
@property (assign, readwrite, nonatomic) unsigned long long filesSkipped;Swift
var filesSkipped: UInt64 { get set }
ASFaspSessionStats Class Reference