UAJavaScriptCommand
Objective-C
@interface UAJavaScriptCommand : NSObject
Swift
class JavaScriptCommand : NSObject
Model object for holding data associated with JS delegate calls
-
A name, derived from the host passed in the delegate call URL. This is typically the name of a command.
Declaration
Objective-C
@property (nonatomic, copy, readonly, nullable) NSString *name;
Swift
var name: String? { get }
-
The argument strings passed in the call.
Declaration
Objective-C
@property (nonatomic, strong, readonly) NSArray<NSString *> *_Nonnull arguments;
Swift
var arguments: [String] { get }
-
The query options passed in the call.
Declaration
Objective-C
@property (nonatomic, strong, readonly) NSDictionary *_Nonnull options;
Swift
var options: [AnyHashable : Any] { get }
-
The orignal URL that initiated the call.
Declaration
Objective-C
@property (nonatomic, strong, readonly) NSURL *_Nonnull URL;
Swift
var url: URL { get }