Represents a single connection state transition record with timing information. More...
Instance Methods | |
(NSDate *) | - dateTime |
Gets the UTC datetime when the state transition occurred. More... | |
(NSString *) | - descriptionWithPreviousTime: |
Creates a string representation of the state transition. More... | |
(instancetype) | - init |
(void) | - setDateTime: |
Sets the UTC datetime when the state transition occurred. More... | |
(void) | - setState: |
Sets the connection state. More... | |
(void) | - setTimeStamp: |
Sets the millisecond timestamp when the state transition occurred. More... | |
(FMLiveSwitchConnectionState) | - state |
Gets the connection state. More... | |
(long long) | - timeStamp |
Gets the millisecond timestamp when the state transition occurred. More... | |
Class Methods | |
(FMLiveSwitchConnectionStateRecord *) | + connectionStateRecord |
Represents a single connection state transition record with timing information.
+ (FMLiveSwitchConnectionStateRecord*) connectionStateRecord |
- (NSDate*) dateTime |
Gets the UTC datetime when the state transition occurred.
- (NSString*) descriptionWithPreviousTime: | (long long) | previousTime |
Creates a string representation of the state transition.
previousTime | The timestamp of the previous state transition in milliseconds. Use 0 for the initial state. |
- (instancetype) init |
- (void) setDateTime: | (NSDate *) | value |
Sets the UTC datetime when the state transition occurred.
- (void) setState: | (FMLiveSwitchConnectionState) | value |
Sets the connection state.
- (void) setTimeStamp: | (long long) | value |
Sets the millisecond timestamp when the state transition occurred.
- (FMLiveSwitchConnectionState) state |
Gets the connection state.
- (long long) timeStamp |
Gets the millisecond timestamp when the state transition occurred.