Inherits from NSObject
Declared in UAWebViewCallData.h

Overview

Model object for holding data associated with JS delegate calls

Properties

arguments

The argument strings passed in the call.

@property (nonatomic, strong, nullable) NSArray<NSString*> *arguments

Declared In

UAWebViewCallData.h

message

The UAInboxMessage associated with the webview.

@property (nonatomic, strong, nullable) UAInboxMessage *message

Declared In

UAWebViewCallData.h

name

A name, derived from the host passed in the delegate call URL. This is typically the name of a command.

@property (nonatomic, copy, nullable) NSString *name

Declared In

UAWebViewCallData.h

options

The query options passed in the call.

@property (nonatomic, strong, nullable) NSDictionary *options

Declared In

UAWebViewCallData.h

url

The orignal URL that initiated the call.

@property (nonatomic, strong) NSURL *url

Declared In

UAWebViewCallData.h

webView

The UIWebView initiating the call.

@property (nonatomic, strong) UIWebView *webView

Declared In

UAWebViewCallData.h

Class Methods

callDataForURL:webView:

Processes a custom delegate call URL into associated call data.

+ (UAWebViewCallData *)callDataForURL:(NSURL *)url webView:(UIWebView *)webView

Parameters

url

The URL to be processed.

webView

The UIWebView originating the call

Return Value

An instance of UAWebViewCallData.

Declared In

UAWebViewCallData.h

callDataForURL:webView:message:

Processes a custom delegate call URL into associated call data.

+ (UAWebViewCallData *)callDataForURL:(NSURL *)url webView:(UIWebView *)webView message:(nullable UAInboxMessage *)message

Parameters

url

The URL to be processed.

webView

The UIWebView originating the call.

message

The UAInboxMessage associated with the webview.

Return Value

An instance of UAWebViewCallData.

Declared In

UAWebViewCallData.h