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
webViewBridge
WebSDK与JS桥接
-
点击商品的回调
Declaration
Objective-C
- (void)plvProductWebViewBridge:(nonnull PLVProductWebViewBridge *)webViewBridge clickProductButtonWithJSONObject:(nonnull id)jsonObject;
Swift
func plvProductWebViewBridge(_ webViewBridge: Any!, clickProductButtonWithJSONObject jsonObject: Any!)
Parameters
webViewBridge
WebSDK与JS桥接
jsonObject
商品详情信息
-
需要显示职位详情的回调
Declaration
Objective-C
- (void)plvProductWebViewBridge:(nonnull PLVProductWebViewBridge *)webViewBridge showJobDetailWithJSONObject:(nonnull id)jsonObject;
Swift
func plvProductWebViewBridge(_ webViewBridge: Any!, showJobDetailWithJSONObject jsonObject: Any!)
Parameters
webViewBridge
WebSDK与JS桥接
jsonObject
商品详情信息