StorylyExternalView
@objc
public protocol StorylyExternalView : AnyObject
This protocol represents an external view that can be opened between stories
-
Implement this method to return the external view
Declaration
Swift
@objc func getView() -> UIView
-
Implement this method to return the duration of the external view
Declaration
Swift
@objc func getDuration() -> Int
Return Value
Duration of the external view
-
Implement this method to return the icon url of the external view
Declaration
Swift
@objc func getIcon() -> URL
Return Value
Icon URL of the external view
-
Implement this method to return the title of the external view
Declaration
Swift
@objc func getTitle() -> String
Return Value
Title of the external view
-
Implement this method to do your destroy operations
Declaration
Swift
@objc func destroy()
-
Implement this method to do your loading operations
Declaration
Swift
@objc func load()
-
Implement this method to pause your external view
Declaration
Swift
@objc func pause()
-
Implement this method to do your redirection operations
Declaration
Swift
@objc func redirect()
-
Implement this method to reset operations
Declaration
Swift
@objc func reset()
-
Implement this method to resume your external view
Declaration
Swift
@objc func resume()