Tuya iOS Smart Life App SDK 5.15.0
<ThingModuleApplicationBlueprint> Protocol Reference

#import <ThingModuleApplicationBlueprint.h>

Inheritance diagram for <ThingModuleApplicationBlueprint>:
<ThingModuleBaseBlueprint> <ThingModuleBaseBlueprint>

Instance Methods

(BOOL) - application:didFinishLaunchingWithOptions:
 
(void) - reloadRootViewController
 
(void) - resetRootViewController:
 
(__kindof UIViewController *) - currentRootViewController
 
(UIWindow *) - window
 
(BOOL) - shouldOpenRouteWithScheme:host:path:params:
 
(void) - resetPrivacyPrompt
 
(BOOL) - application:didFinishLaunchingWithOptions:
 
(void) - reloadRootViewController
 
(void) - resetRootViewController:
 
(__kindof UIViewController *) - currentRootViewController
 
(UIWindow *) - window
 
(BOOL) - shouldOpenRouteWithScheme:host:path:params:
 
(void) - resetPrivacyPrompt
 

Additional Inherited Members

- Class Methods inherited from <ThingModuleBaseBlueprint>
(instancetype) + oneInstance
 
(instancetype) + oneInstance
 

Detailed Description

Definition at line 16 of file ThingModuleApplicationBlueprint.h.

Method Documentation

◆ application:didFinishLaunchingWithOptions: [1/2]

- (BOOL) application: (UIApplication *)  application
didFinishLaunchingWithOptions: (nullable NSDictionary *)  launchOptions 
required

◆ application:didFinishLaunchingWithOptions: [2/2]

- (BOOL) application: (UIApplication *)  application
didFinishLaunchingWithOptions: (nullable NSDictionary *)  launchOptions 
required

◆ currentRootViewController [1/2]

- (__kindof UIViewController *) currentRootViewController
required

the root view controller of key window

◆ currentRootViewController [2/2]

- (__kindof UIViewController *) currentRootViewController
required

the root view controller of key window

◆ reloadRootViewController [1/2]

- (void) reloadRootViewController
required

reload the root view controller of key window

◆ reloadRootViewController [2/2]

- (void) reloadRootViewController
required

reload the root view controller of key window

◆ resetPrivacyPrompt [1/2]

- (void) resetPrivacyPrompt
optional

reset the privacy prompt

◆ resetPrivacyPrompt [2/2]

- (void) resetPrivacyPrompt
optional

reset the privacy prompt

◆ resetRootViewController: [1/2]

- (void) resetRootViewController: (__kindof UIViewController *)  rootVC
required

reset the root view controller of key window to a specified view controller

◆ resetRootViewController: [2/2]

- (void) resetRootViewController: (__kindof UIViewController *)  rootVC
required

reset the root view controller of key window to a specified view controller

◆ shouldOpenRouteWithScheme:host:path:params: [1/2]

- (BOOL) shouldOpenRouteWithScheme: (NSString *)  scheme
host: (NSString *)  host
path: (NSString *)  path
params: (NSDictionary *)  params 
optional

allow ThingModuleManager to open route

◆ shouldOpenRouteWithScheme:host:path:params: [2/2]

- (BOOL) shouldOpenRouteWithScheme: (NSString *)  scheme
host: (NSString *)  host
path: (NSString *)  path
params: (NSDictionary *)  params 
optional

allow ThingModuleManager to open route

◆ window [1/2]

- (UIWindow *) window
optional

you need to create a window and set to [UIApplication sharedApplication].delegate.window when [UIApplication sharedApplication].delegate.window == nil

◆ window [2/2]

- (UIWindow *) window
optional

you need to create a window and set to [UIApplication sharedApplication].delegate.window when [UIApplication sharedApplication].delegate.window == nil


The documentation for this protocol was generated from the following files: