Skip to content

Latest commit

 

History

History
58 lines (39 loc) · 2.42 KB

CDRemoteLauncher.md

File metadata and controls

58 lines (39 loc) · 2.42 KB

class CDRemoteLauncher

@interface CDRemoteLauncher : NSObject

A class used to find remote systems.

Summary

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.

Properties

connectionRequest

@property (nonatomic, readonly, strong, nonnull)CDRemoteSystemConnectionRequest* connectionRequest;

The CDRemoteSystemConnectionRequest.

Methods

initWithConnectionRequest

-(nullable instancetype)initWithConnectionRequest:(nonnull CDRemoteSystemConnectionRequest*)request;

Initializes the CDRemoteLauncher with a CDRemoteSystemConnectionRequest.

Returns

The initialized CDRemoteLauncher, otherwise nil.

launchUri

-(nullable NSError*)launchUri:(nonnull NSString*)uri withCompletion:(nullable void (^)(CDRemoteLauncherUriStatus))completionBlock;

Launches a URI against the Remote System specified in the previously initialized CDRemoteSystemConnectionRequest.

Parameters

  • uri The URI to launch.
  • completionBlock The block to invoke when the async request either succeeds or fails.

Returns

An error, if any occurred.

launchUri

-(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.

Parameters

  • uri The URI to launch.
  • options The launcher options.
  • completionBlock The block to invoke when the async request either succeeds or fails.

Returns

An error, if any occurred.