MFLog Class Reference
Inherits from | NSObject |
---|---|
Declared in | MFLog.h MFLog.m |
event
Specifies the event of a beacon that happen.
@property (assign, nonatomic) MFBeaconEvent event
Declared In
MFLog.h
user
Specifies the logged in user that need to be logged.
@property (strong, nonatomic, nonnull) MFUser *user
Declared In
MFLog.h
beacon
Specifies the beacon that need to be logged.
@property (strong, nonatomic, nonnull) MFBeacon *beacon
Declared In
MFLog.h
– sendAsyncWithBlock:
Save the MFLog
asynchronously at some specified time in the future, even if Mesosfer is currently inaccessible.
- (void)sendAsyncWithBlock:(nullable MFBooleanResultBlock)block
Parameters
block |
The block to execute. It should have the following argument signature: |
---|
Discussion
Objects saved with this method will be stored locally in an on-disk cache until they can be delivered to Mesosfer. They will be sent immediately if possible. Otherwise, they will be sent the next time a network connection is available. Objects saved this way will persist even after the app is closed, in which case they will be sent the next time the app is opened.
Declared In
MFLog.h