MFStorylineDetail Class Reference
| Inherits from | NSObject |
|---|---|
| Declared in | MFStorylineDetail.h MFStorylineDetail.m |
Overview
The MFStorylineDetail class represent a storyline campaign for triggered beacon(s) within a single event.
storyline
Specifies the MFStoryline object that group the storyline detail.
@property (strong, nonatomic, nullable) MFStoryline *storylineDeclared In
MFStorylineDetail.h
campaign
Specifies the MFStorylineCampaign object of storyline.
@property (assign, nonatomic) MFStorylineCampaign campaignDeclared In
MFStorylineDetail.h
event
Specifies the MFBeaconEvent object of storyline.
@property (assign, nonatomic) MFBeaconEvent eventDeclared In
MFStorylineDetail.h
alertMessage
Specifies the alert message of storyline.
@property (strong, nonatomic, nullable) NSString *alertMessageDeclared In
MFStorylineDetail.h
urlPage
Specifies the url web page to open.
@property (strong, nonatomic, nullable) NSString *urlPageDeclared In
MFStorylineDetail.h
urlVideo
Specifies the url video to play.
@property (strong, nonatomic, nullable) NSString *urlVideoDeclared In
MFStorylineDetail.h
urlImageAndroid
Specifies the url image to display for Android.
@property (strong, nonatomic, nullable) NSString *urlImageAndroidDeclared In
MFStorylineDetail.h
urlImageIOS
Specifies the url image to display for iOS.
@property (strong, nonatomic, nullable) NSString *urlImageIOSDeclared In
MFStorylineDetail.h
+ storylineDetailWithStorylineId:NS_SWIFT_NAME:
Creates a new MFStorylineDetail with an objectId of MFStoryline.
+ (nonnull instancetype)storylineDetailWithStorylineId:(nonnull NSString *)storylineId NS_SWIFT_NAMEParameters
storylineId |
An objectId of |
|---|
Return Value
the object detail storyline that is instantiated with the given parameter.
Declared In
MFStorylineDetail.h
+ storylineDetailWithStoryline:NS_SWIFT_NAME:
Creates a new MFStorylineDetail with an object of MFStoryline.
+ (nonnull instancetype)storylineDetailWithStoryline:(nonnull MFStoryline *)storyline NS_SWIFT_NAMEParameters
storyline |
An object of |
|---|
Return Value
the object detail storyline that is instantiated with the given parameter.
Declared In
MFStorylineDetail.h
+ storylineDetailWithObjectId:NS_SWIFT_NAME:
Creates a reference to an existing MFStorylineDetail for use in creating associations between MFStorylineDetails.
+ (nonnull instancetype)storylineDetailWithObjectId:(nonnull NSString *)objectId NS_SWIFT_NAMEParameters
objectId |
The object id for the referenced |
|---|
Return Value
A MFStorylineDetail instance without data.
Discussion
Warning: You need to call MFStorylineDetail.fetchAsyncWithBlock: to fetch object from Mesosfer cloud.
Declared In
MFStorylineDetail.h
– dictionary
Gets all key and value pair of MFStorylineDetail object in a dictionary.
- (nullable NSDictionary *)dictionaryReturn Value
The dictionary of all key and value pair object.
Declared In
MFStorylineDetail.h
– fetchAsyncWithBlock:
Fetch the current MFStorylineDetail data from Mesosfer cloud asynchronously and executes the given callback block.
- (void)fetchAsyncWithBlock:(nullable MFObjectResultBlock)blockParameters
block |
The block to execute. It shoud have the following argument signature: |
|---|
Declared In
MFStorylineDetail.h
– saveAsyncWithBlock:
Saves the MFStorylineDetail asynchronously and executes the given callback block.
- (void)saveAsyncWithBlock:(nullable MFBooleanResultBlock)blockParameters
block |
The block to execute. It should have the following argument signature: |
|---|
Declared In
MFStorylineDetail.h
– deleteAsyncWithBlock:
Delete the MFStorylineDetail object in Mesosfer cloud asynchronously and executes the given callback block.
- (void)deleteAsyncWithBlock:(nullable MFBooleanResultBlock)blockParameters
block |
The block to execute. It should have the following argument signature: |
|---|
Declared In
MFStorylineDetail.h