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

#import <ThingModuleRouteBlueprint.h>

Inheritance diagram for <ThingModuleRouteBlueprint>:
<ThingModuleBaseBlueprint> <ThingModuleBaseBlueprint> ThingModuleRouteManager ThingModuleRouteManager

Instance Methods

(void) - registRoute:forModule:
 
(void) - unregistRoute:
 
(void) - registRoute:inViewController:
 
(nullable id) - moduleOfRoute:
 
(BOOL) - canOpenRoute:
 
(BOOL) - openRoute:withParams:
 
(BOOL) - openRoute:withParams:callBack:
 
(void) - registerUnhandledRoute:
 
(void) - registRoute:forModule:
 
(void) - unregistRoute:
 
(void) - registRoute:inViewController:
 
(nullable id) - moduleOfRoute:
 
(BOOL) - canOpenRoute:
 
(BOOL) - openRoute:withParams:
 
(BOOL) - openRoute:withParams:callBack:
 
(void) - registerUnhandledRoute:
 

Additional Inherited Members

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

Detailed Description

Definition at line 17 of file ThingModuleRouteBlueprint.h.

Method Documentation

◆ canOpenRoute: [1/2]

- (BOOL) canOpenRoute: (NSString *)  route

◆ canOpenRoute: [2/2]

- (BOOL) canOpenRoute: (NSString *)  route

◆ moduleOfRoute: [1/2]

- (nullable id) moduleOfRoute: (NSString *)  route

◆ moduleOfRoute: [2/2]

- (nullable id) moduleOfRoute: (NSString *)  route

◆ openRoute:withParams: [1/2]

- (BOOL) openRoute: (NSString *)  route
withParams: (nullable NSDictionary *)  params 

scheme、path、query will passthrough to the handle impl

◆ openRoute:withParams: [2/2]

- (BOOL) openRoute: (NSString *)  route
withParams: (nullable NSDictionary *)  params 

scheme、path、query will passthrough to the handle impl

◆ openRoute:withParams:callBack: [1/2]

- (BOOL) openRoute: (NSString *)  route
withParams: (nullable NSDictionary *)  params
callBack: (void(^)(NSDictionary *result))  callBack 

scheme、path、query 、callBack will passthrough to the handle impl attention:because of connecting to Flutter,result in callBack must be serializable(可序列化)

◆ openRoute:withParams:callBack: [2/2]

- (BOOL) openRoute: (NSString *)  route
withParams: (nullable NSDictionary *)  params
callBack: (void(^)(NSDictionary *result))  callBack 

scheme、path、query 、callBack will passthrough to the handle impl attention:because of connecting to Flutter,result in callBack must be serializable(可序列化)

◆ registerUnhandledRoute: [1/2]

- (void) registerUnhandledRoute: (BOOL(^)(NSString *scheme, NSString *host, NSString *path, NSDictionary *params))  callback

◆ registerUnhandledRoute: [2/2]

- (void) registerUnhandledRoute: (BOOL(^)(NSString *scheme, NSString *host, NSString *path, NSDictionary *params))  callback

◆ registRoute:forModule: [1/2]

- (void) registRoute: (NSString *)  route
forModule: (id)  module 

scheme、path、query will be ignore

◆ registRoute:forModule: [2/2]

- (void) registRoute: (NSString *)  route
forModule: (id)  module 

scheme、path、query will be ignore

◆ registRoute:inViewController: [1/2]

- (void) registRoute: (NSString *)  route
inViewController: (Class)  vc 

◆ registRoute:inViewController: [2/2]

- (void) registRoute: (NSString *)  route
inViewController: (Class)  vc 

◆ unregistRoute: [1/2]

- (void) unregistRoute: (NSString *)  route

◆ unregistRoute: [2/2]

- (void) unregistRoute: (NSString *)  route

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