HYPSnapshotPluginModule
@interface HYPSnapshotPluginModule
: HYPPluginModule <HYPSnapshotPluginViewProvider>
HYPSnapshotPluginModule is a base implementation of a Snapshot Plugin.
-
The title that should display for the plugin menu Item.
Declaration
Objective-C
- (nonnull NSString *)pluginMenuItemTitle;Swift
func pluginMenuItemTitle() -> StringReturn Value
The title that should display for the plugin menu Item.
-
The image that should display for the plugin menu Item.
Declaration
Objective-C
- (id)pluginMenuItemImage;Swift
func pluginMenuItemImage() -> Any!Return Value
The image that should display for the plugin menu Item.
-
Determines whether the drawer should hide when the plugin becomes active/inactive.
Declaration
Objective-C
- (BOOL)shouldHideDrawerOnSelection;Swift
func shouldHideDrawerOnSelection() -> BoolReturn Value
Yes if the drawer should hide when the plugin becomes active/inactive.
-
The view that should get added the Snap Shot container when activated.
Declaration
Objective-C
@property (readonly, nonatomic) int *_Nullable snapshotPluginView;Swift
var snapshotPluginView: UnsafeMutablePointerReturn Value
The view that should get added the Snap Shot container when activated.
View on GitHub
HYPSnapshotPluginModule Class Reference