@interface CDRemoteLauncher : NSObject
A class used to find remote systems.
Members | Descriptions |
---|---|
connectionRequest | The CDRemoteSystemConnectionRequest. |
initWithConnectionRequest | Initializes the CDRemoteLauncher with a CDRemoteSystemConnectionRequest. |
launchUri | Launches a URI against the Remote System specified in the previously initialized CDRemoteSystemConnectionRequest. uri The URI to launch. |
launchUri | Launches a URI with options against the Remote System specified in the previously initialized CDRemoteSystemConnectionRequest. |
@property (nonatomic, readonly, strong, nonnull)CDRemoteSystemConnectionRequest* connectionRequest;
The CDRemoteSystemConnectionRequest.
-(nullable instancetype)initWithConnectionRequest:(nonnull CDRemoteSystemConnectionRequest*)request;
Initializes the CDRemoteLauncher with a CDRemoteSystemConnectionRequest.
The initialized CDRemoteLauncher, otherwise nil.
-(nullable NSError*)launchUri:(nonnull NSString*)uri withCompletion:(nullable void (^)(CDRemoteLauncherUriStatus))completionBlock;
Launches a URI against the Remote System specified in the previously initialized CDRemoteSystemConnectionRequest.
uri
The URI to launch.completionBlock
The block to invoke when the async request either succeeds or fails.
An error, if any occurred.
-(nullable NSError*)launchUri:(nonnull NSString*)uri withOptions:(nonnull CDRemoteLauncherOptions*)options withCompletion:(nonnull void (^)(CDRemoteLauncherUriStatus))completionBlock;
Launches a URI with options against the Remote System specified in the previously initialized CDRemoteSystemConnectionRequest.
uri
The URI to launch.options
The launcher options.completionBlock
The block to invoke when the async request either succeeds or fails.
An error, if any occurred.