PLVProductWebViewBridgeDelegate
Objective-C
@protocol PLVProductWebViewBridgeDelegate <NSObject>
Swift
protocol PLVProductWebViewBridgeDelegate
商品列表模块 WebSDK Bridge 的回调 (不能保证在主线程回调)
-
获取APP信息的回调
Declaration
Objective-C
- (nonnull NSDictionary *)getAPPInfoInProductWebViewBridge: (nonnull PLVProductWebViewBridge *)webViewBridge;Swift
func getAPPInfo(inProductWebViewBridge webViewBridge: Any!) -> Any!Parameters
webViewBridgeWebSDK与JS桥接
-
点击商品的回调
Declaration
Objective-C
- (void)plvProductWebViewBridge:(nonnull PLVProductWebViewBridge *)webViewBridge clickProductButtonWithJSONObject:(nonnull id)jsonObject;Swift
func plvProductWebViewBridge(_ webViewBridge: Any!, clickProductButtonWithJSONObject jsonObject: Any!)Parameters
webViewBridgeWebSDK与JS桥接
jsonObject商品详情信息
View on GitHub
PLVProductWebViewBridgeDelegate Protocol Reference