PLVInteractBaseApp

Objective-C

@interface PLVInteractBaseApp : NSObject

@property (nonatomic, weak) id <PLVInteractBaseAppDelegate> delegate;

@property (nonatomic, weak) PLVJSBridge * jsBridge;

@property (nonatomic, assign) float triviaCardTimeoutSec;   /// 互动应用提交超时秒数
@property (nonatomic, assign) NSInteger triviaCardMaxRetryCount;/// 互动应用最大重试提交次数

- (instancetype)initWithJsBridge:(PLVJSBridge *)jsBridge;

- (void)processInteractMessageString:(NSString *)msgString jsonDict:(NSDictionary *)jsonDict;

- (void)callRequirePortraitScreen;

- (void)callWebviewShow;

- (void)submitResultCallback:(NSString *)json event:(NSString *)event;

- (void)submitResultTimeoutCallback:(NSString *)event;

@end

Swift

class PLVInteractBaseApp : NSObject

Undocumented

  • Undocumented

    Declaration

    Objective-C

    @property (nonatomic, weak) id <PLVInteractBaseAppDelegate> delegate

    Swift

    weak var delegate: PLVInteractBaseAppDelegate? { get set }
  • Undocumented

    Declaration

    Objective-C

    @property (nonatomic, weak) PLVJSBridge * jsBridge
  • Undocumented

    Declaration

    Objective-C

    @property (nonatomic) float triviaCardTimeoutSec

    Swift

    var triviaCardTimeoutSec: Float { get set }
  • 互动应用提交超时秒数

    Declaration

    Objective-C

    @property (nonatomic) NSInteger triviaCardMaxRetryCount;

    Swift

    var triviaCardMaxRetryCount: Int { get set }
  • 互动应用最大重试提交次数

    Declaration

    Objective-C

    - (nonnull instancetype)initWithJsBridge:(id)jsBridge;

    Swift

    init(jsBridge: Any!)
  • Undocumented

    Declaration

    Objective-C

    - (void)processInteractMessageString:(NSString *)msgString jsonDict:(NSDictionary *)jsonDict;

    Swift

    func processInteractMessageString(_ msgString: String, jsonDict: [AnyHashable : Any])
  • Undocumented

    Declaration

    Objective-C

    - (void)callRequirePortraitScreen;

    Swift

    func callRequirePortraitScreen()
  • Undocumented

    Declaration

    Objective-C

    - (void)callWebviewShow;

    Swift

    func callWebviewShow()
  • Undocumented

    Declaration

    Objective-C

    - (void)submitResultCallback:(NSString *)json event:(NSString *)event;

    Swift

    func submitResultCallback(_ json: String, event: String)
  • Undocumented

    Declaration

    Objective-C

    - (void)submitResultTimeoutCallback:(NSString *)event;

    Swift

    func submitResultTimeoutCallback(_ event: String)