FMLiveSwitchScheduledItem Class Reference

Instance Methods

(FMLiveSwitchAction1< FMLiveSwitchScheduledItem * > *) - defaultCallback
 
(int) - delay
 
(long long) - getInvocationTimeWithAttempt:
 
(NSString *) - id
 
(instancetype) - initWithDefaultCallback:delay:interval:lifetimeLimit:invocationCountLimit:
 
(instancetype) - initWithDefaultCallbackBlock:delay:interval:lifetimeLimit:invocationCountLimit:
 
(int) - interval
 
(float) - intervalBackoffMultiplier
 
(int) - invocationCount
 
(int) - invocationCountLimit
 
(int) - invocationLifetimeLimit
 
(bool) - lastDefaultInvocationOccurred
 
(long long) - lastResumedTime
 
(long long) - lastSuspendedTime
 
(FMLiveSwitchAction1< FMLiveSwitchScheduledItem * > *) - onSuspendStatusChanged
 
(bool) - recordDetailedInvocationTimes
 
(void) - reset
 
(void) - setDefaultCallback:
 
(FMLiveSwitchScheduledItem *) - setDefaultCallbackBlock
 
(void) - setDefaultCallbackBlock:
 
(void) - setDelay:
 
(void) - setInterval:
 
(void) - setIntervalBackoffMultiplier:
 
(void) - setInvocationCountLimit:
 
(void) - setInvocationLifetimeLimit:
 
(void) - setInvocationTimeWithAttempt:time:
 
(void) - setLastResumedTime:
 
(void) - setLastSuspendedTime:
 
(void) - setOnSuspendStatusChanged:
 
(FMLiveSwitchScheduledItem *) - setOnSuspendStatusChangedBlock
 
(void) - setOnSuspendStatusChangedBlock:
 
(void) - setRecordDetailedInvocationTimes:
 
(void) - setState:
 
(void) - setSuspended:
 
(void) - setTimeoutCallback:
 
(FMLiveSwitchScheduledItem *) - setTimeoutCallbackBlock
 
(void) - setTimeoutCallbackBlock:
 
(void) - setTotalSuspendedDuration:
 
(id- state
 
(bool) - suspended
 
(FMLiveSwitchAction1< FMLiveSwitchScheduledItem * > *) - timeoutCallback
 
(long long) - totalSuspendedDuration
 

Class Methods

(FMLiveSwitchScheduledItem *) + scheduledItemWithDefaultCallback:delay:interval:lifetimeLimit:invocationCountLimit:
 
(FMLiveSwitchScheduledItem *) + scheduledItemWithDefaultCallbackBlock:delay:interval:lifetimeLimit:invocationCountLimit:
 
(int) + unset
 

Method Documentation

◆ defaultCallback

- (FMLiveSwitchAction1<FMLiveSwitchScheduledItem*>*) defaultCallback

◆ delay

- (int) delay

◆ getInvocationTimeWithAttempt:

- (long long) getInvocationTimeWithAttempt: (int)  attempt

◆ id

- (NSString*) id

◆ initWithDefaultCallback:delay:interval:lifetimeLimit:invocationCountLimit:

- (instancetype) initWithDefaultCallback: (FMLiveSwitchAction1< FMLiveSwitchScheduledItem * > *)  defaultCallback
delay: (int)  delay
interval: (int)  interval
lifetimeLimit: (int)  lifetimeLimit
invocationCountLimit: (int)  invocationCountLimit 

◆ initWithDefaultCallbackBlock:delay:interval:lifetimeLimit:invocationCountLimit:

- (instancetype) initWithDefaultCallbackBlock: (void(^)(FMLiveSwitchScheduledItem *))  defaultCallbackBlock
delay: (int)  delay
interval: (int)  interval
lifetimeLimit: (int)  lifetimeLimit
invocationCountLimit: (int)  invocationCountLimit 

◆ interval

- (int) interval

◆ intervalBackoffMultiplier

- (float) intervalBackoffMultiplier

◆ invocationCount

- (int) invocationCount

◆ invocationCountLimit

- (int) invocationCountLimit

◆ invocationLifetimeLimit

- (int) invocationLifetimeLimit

◆ lastDefaultInvocationOccurred

- (bool) lastDefaultInvocationOccurred

◆ lastResumedTime

- (long long) lastResumedTime

◆ lastSuspendedTime

- (long long) lastSuspendedTime

◆ onSuspendStatusChanged

- (FMLiveSwitchAction1<FMLiveSwitchScheduledItem*>*) onSuspendStatusChanged

◆ recordDetailedInvocationTimes

- (bool) recordDetailedInvocationTimes

◆ reset

- (void) reset

◆ scheduledItemWithDefaultCallback:delay:interval:lifetimeLimit:invocationCountLimit:

+ (FMLiveSwitchScheduledItem*) scheduledItemWithDefaultCallback: (FMLiveSwitchAction1< FMLiveSwitchScheduledItem * > *)  defaultCallback
delay: (int)  delay
interval: (int)  interval
lifetimeLimit: (int)  lifetimeLimit
invocationCountLimit: (int)  invocationCountLimit 

◆ scheduledItemWithDefaultCallbackBlock:delay:interval:lifetimeLimit:invocationCountLimit:

+ (FMLiveSwitchScheduledItem*) scheduledItemWithDefaultCallbackBlock: (void(^)(FMLiveSwitchScheduledItem *))  defaultCallbackBlock
delay: (int)  delay
interval: (int)  interval
lifetimeLimit: (int)  lifetimeLimit
invocationCountLimit: (int)  invocationCountLimit 

◆ setDefaultCallback:

- (void) setDefaultCallback: (FMLiveSwitchAction1< FMLiveSwitchScheduledItem * > *)  value

◆ setDefaultCallbackBlock

- (FMLiveSwitchScheduledItem*) setDefaultCallbackBlock

◆ setDefaultCallbackBlock:

- (void) setDefaultCallbackBlock: (void(^)(FMLiveSwitchScheduledItem *))  valueBlock

◆ setDelay:

- (void) setDelay: (int)  value

◆ setInterval:

- (void) setInterval: (int)  value

◆ setIntervalBackoffMultiplier:

- (void) setIntervalBackoffMultiplier: (float)  value

◆ setInvocationCountLimit:

- (void) setInvocationCountLimit: (int)  value

◆ setInvocationLifetimeLimit:

- (void) setInvocationLifetimeLimit: (int)  value

◆ setInvocationTimeWithAttempt:time:

- (void) setInvocationTimeWithAttempt: (int)  attempt
time: (long long)  time 

◆ setLastResumedTime:

- (void) setLastResumedTime: (long long)  value

◆ setLastSuspendedTime:

- (void) setLastSuspendedTime: (long long)  value

◆ setOnSuspendStatusChanged:

- (void) setOnSuspendStatusChanged: (FMLiveSwitchAction1< FMLiveSwitchScheduledItem * > *)  value

◆ setOnSuspendStatusChangedBlock

- (FMLiveSwitchScheduledItem*) setOnSuspendStatusChangedBlock

◆ setOnSuspendStatusChangedBlock:

- (void) setOnSuspendStatusChangedBlock: (void(^)(FMLiveSwitchScheduledItem *))  valueBlock

◆ setRecordDetailedInvocationTimes:

- (void) setRecordDetailedInvocationTimes: (bool)  value

◆ setState:

- (void) setState: (id value

◆ setSuspended:

- (void) setSuspended: (bool)  value

◆ setTimeoutCallback:

- (void) setTimeoutCallback: (FMLiveSwitchAction1< FMLiveSwitchScheduledItem * > *)  value

◆ setTimeoutCallbackBlock

- (FMLiveSwitchScheduledItem*) setTimeoutCallbackBlock

◆ setTimeoutCallbackBlock:

- (void) setTimeoutCallbackBlock: (void(^)(FMLiveSwitchScheduledItem *))  valueBlock

◆ setTotalSuspendedDuration:

- (void) setTotalSuspendedDuration: (long long)  value

◆ state

- (id) state

◆ suspended

- (bool) suspended

◆ timeoutCallback

- (FMLiveSwitchAction1<FMLiveSwitchScheduledItem*>*) timeoutCallback

◆ totalSuspendedDuration

- (long long) totalSuspendedDuration

◆ unset

+ (int) unset