MBMicroblinkApp
@interface MBMicroblinkApp : NSObject
@property (nonatomic) NSString *language;
/** Bundle with resources used in framework */
@property (nonatomic) NSBundle *resourcesBundle;
/** Obtain the shared instance */
+ (instancetype)instance;
/** Designated initializer */
- (id)init;
/** Sets the language used in PhotoPaySDK */
- (void)setLanguage:(NSString *)language;
/** Sets the language to default (i.e. language specified in the user's device settings */
- (void)setDefaultLanguage;
/** Pushes the UIApplication status bar style to a internally handled stack */
- (void)pushStatusBarStyle:(UIStatusBarStyle)statusBarStyle;
/** Returns the status bar style to the last saved value */
- (void)popStatusBarStyle;
/** Push the status bar hidden value */
- (void)pushStatusBarHidden:(BOOL)hidden;
/** pops the status bar hidden value */
- (void)popStatusBarHidden;
/** Sets the key that the help was shown to true */
- (void)setHelpShown:(BOOL)value;
/** Returns true if the help was already shown */
- (BOOL)isHelpShown;
/**
* Returns the default resources bundle. If it doesn't exist, it will be nil.
*/
+ (NSBundle *)getDefaultResourcesBundle;
@end
Undocumented
-
Undocumented
Declaration
Objective-C
@property (nonatomic) NSString *language
Swift
var language: String! { get set }
-
Bundle with resources used in framework
Declaration
Objective-C
@property (assign, readwrite, nonatomic) NSBundle *resourcesBundle;
Swift
var resourcesBundle: Bundle! { get set }
-
Obtain the shared instance
Declaration
Objective-C
+ (instancetype)instance;
Swift
class func instance() -> Self!
-
Designated initializer
Declaration
Objective-C
- (id)init;
Swift
init!()
-
Sets the language to default (i.e. language specified in the user’s device settings
Declaration
Objective-C
- (void)setDefaultLanguage;
Swift
func setDefaultLanguage()
-
Pushes the UIApplication status bar style to a internally handled stack
Declaration
Objective-C
- (void)pushStatusBarStyle:(UIStatusBarStyle)statusBarStyle;
Swift
func push(_ statusBarStyle: UIStatusBarStyle)
-
Returns the status bar style to the last saved value
Declaration
Objective-C
- (void)popStatusBarStyle;
Swift
func popStatusBarStyle()
-
Push the status bar hidden value
Declaration
Objective-C
- (void)pushStatusBarHidden:(BOOL)hidden;
Swift
func pushStatusBarHidden(_ hidden: Bool)
-
pops the status bar hidden value
Declaration
Objective-C
- (void)popStatusBarHidden;
Swift
func popStatusBarHidden()
-
Sets the key that the help was shown to true
Declaration
Objective-C
- (void)setHelpShown:(BOOL)value;
Swift
func setHelpShown(_ value: Bool)
-
Returns true if the help was already shown
Declaration
Objective-C
- (BOOL)isHelpShown;
Swift
func isHelpShown() -> Bool
-
Returns the default resources bundle. If it doesn’t exist, it will be nil.
Declaration
Objective-C
+ (NSBundle *)getDefaultResourcesBundle;
Swift
class func getDefaultResourcesBundle() -> Bundle!