format and organize auto-generated content
This commit is contained in:
Родитель
db08ff77d4
Коммит
44274df601
|
@ -5,16 +5,39 @@ class CDRemoteSystem
|
||||||
: public NSObject
|
: public NSObject
|
||||||
```
|
```
|
||||||
|
|
||||||
A class to represent a Remote System.
|
A class to represent a remote system.
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
## Summary
|
## Summary
|
||||||
|
|
||||||
Members | Descriptions
|
Members | Descriptions
|
||||||
--------------------------------|---------------------------------------------
|
--------------------------------|---------------------------------------------
|
||||||
`public virtual (unavailable("init not available. A `[`CDRemoteSystem`](#interface_c_d_remote_system)` can only be created by the framework internally." __attribute__()` |
|
id | The identifier for this remote system.
|
||||||
|
displayName | The friendly display name of this remote system.
|
||||||
|
kind | The device type of this remote system.
|
||||||
|
isAvailableByProximity | Indicates whether the remote system can be reached by proximal connection (UDP or Bluetooth).
|
||||||
|
status | The availability of the remote system.
|
||||||
|
|
||||||
## Members
|
## Properties
|
||||||
|
|
||||||
#### `public virtual (unavailable("init not available. A `[`CDRemoteSystem`](#interface_c_d_remote_system)` can only be created by the framework internally." __attribute__()`
|
### id
|
||||||
|
`@property (nonatomic, readonly, copy, nonnull) NSString* id;`
|
||||||
|
|
||||||
|
The identifier for this remote system.
|
||||||
|
|
||||||
|
### displayName
|
||||||
|
`@property (nonatomic, readonly, copy, nonnull) NSString* displayName;`
|
||||||
|
|
||||||
|
The friendly display name of this remote system.
|
||||||
|
|
||||||
|
### kind
|
||||||
|
`@property (nonatomic, readonly, copy, nonnull) NSString* kind;`
|
||||||
|
|
||||||
|
The device type of this remote system.
|
||||||
|
|
||||||
|
### isAvailableByProximity
|
||||||
|
`@property (nonatomic, readonly) BOOL isAvailableByProximity;`
|
||||||
|
Indicates whether the remote system can be reached by proximal connection (UDP or Bluetooth).
|
||||||
|
|
||||||
|
### status
|
||||||
|
`@property (nonatomic, readonly) CDRemoteSystemStatus status;`
|
||||||
|
The availability of the remote system.
|
|
@ -10,3 +10,5 @@
|
||||||
@property (nonatomic, readonly)BOOL isConnected;
|
@property (nonatomic, readonly)BOOL isConnected;
|
||||||
|
|
||||||
@end
|
@end
|
||||||
|
|
||||||
|
TBD
|
|
@ -5,25 +5,25 @@ class CDRemoteSystemConnectionRequest
|
||||||
: public NSObject
|
: public NSObject
|
||||||
```
|
```
|
||||||
|
|
||||||
A class used to express a connection request intent against a Remote System.
|
A class used to express a connection request intent against a remote system.
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
## Summary
|
## Summary
|
||||||
|
|
||||||
Members | Descriptions
|
Members | Descriptions
|
||||||
--------------------------------|---------------------------------------------
|
--------------------------------|---------------------------------------------
|
||||||
`public virtual (unavailable("init not available. Use initWithRemoteSystem." __attribute__()` |
|
remoteSystem | The remote system to connect to.
|
||||||
`public virtual nullable instancetype initWithRemoteSystem:(nonnull `[`CDRemoteSystem`](#interface_c_d_remote_system)` * remoteSystem)` | Initializes the [CDRemoteSystemConnectionRequest](#interface_c_d_remote_system_connection_request) with a Remote System. remoteSystem The RemoteSystem.
|
initWithRemoteSystem | Initializes the [CDRemoteSystemConnectionRequest](#interface_c_d_remote_system_connection_request) with a [RemoteSystem]( ) instance.
|
||||||
|
|
||||||
## Members
|
## Properties
|
||||||
|
|
||||||
#### `public virtual (unavailable("init not available. Use initWithRemoteSystem." __attribute__()`
|
### remoteSystem
|
||||||
|
`@property (nonatomic, readonly, strong, nonnull)CDRemoteSystem* remoteSystem;`
|
||||||
|
|
||||||
|
The remote system to connect to.
|
||||||
|
|
||||||
|
## Methods
|
||||||
|
|
||||||
|
### initWithRemoteSystem
|
||||||
|
`-(nullable instancetype)initWithRemoteSystem:(nonnull CDRemoteSystem*)remoteSystem;`
|
||||||
|
|
||||||
|
Initializes the [CDRemoteSystemConnectionRequest](#interface_c_d_remote_system_connection_request) with a [RemoteSystem]( ) instance.
|
||||||
#### `public virtual nullable instancetype initWithRemoteSystem:(nonnull `[`CDRemoteSystem`](#interface_c_d_remote_system)` * remoteSystem)`
|
|
||||||
|
|
||||||
Initializes the [CDRemoteSystemConnectionRequest](#interface_c_d_remote_system_connection_request) with a Remote System. remoteSystem The RemoteSystem.
|
|
|
@ -5,46 +5,55 @@ class CDRemoteSystemDiscovery
|
||||||
: public NSObject
|
: public NSObject
|
||||||
```
|
```
|
||||||
|
|
||||||
A class used to find Remote Systems.
|
A class used to discover remote systems.
|
||||||
|
|
||||||
## Summary
|
## Summary
|
||||||
|
|
||||||
Members | Descriptions
|
Members | Descriptions
|
||||||
--------------------------------|---------------------------------------------
|
--------------------------------|---------------------------------------------
|
||||||
`public virtual nullable instancetype initWithDiscoveryFilters:(nullable NSSet * filters)` | Initializes the CDPRemoteSystemDiscovery with a set of filters. filters The set of filters.
|
delegate | The delegate that will receive events from this [CDRemoteSystemDiscovery]( ).
|
||||||
`public virtual nullable NSError * start()` | Attempts to find RemoteSystems.
|
initWithDiscoveryFilters | Initializes the [CDPRemoteSystemDiscovery]( ) with a set of filters.
|
||||||
`public virtual nullable NSError * stop()` | Stops the active discovery.
|
start | Begins discovering remote systems.
|
||||||
`public virtual nullable NSError * findByHostName:(nonnull NSString * hostname)` | Attempts to find a PeerSystem proximaly by its IP.
|
stop | Stops the active discovery.
|
||||||
|
findByHostName | Attempts to find a system proximally using its IP address.
|
||||||
|
|
||||||
## Members
|
## Properties
|
||||||
|
|
||||||
|
### delegate
|
||||||
|
`@property (nonatomic, readwrite, weak, nullable)id<CDRemoteSystemDiscoveryDelegate> delegate;`
|
||||||
|
|
||||||
|
The delegate that will receive events from this [CDRemoteSystemDiscovery]( ).
|
||||||
|
|
||||||
|
## Methods
|
||||||
|
|
||||||
### initWithDiscoveryFilters
|
### initWithDiscoveryFilters
|
||||||
`public virtual nullable instancetype initWithDiscoveryFilters:(nullable NSSet * filters)`
|
`-(nullable instancetype)initWithDiscoveryFilters:(nullable NSSet*)filters;`
|
||||||
|
|
||||||
Initializes the CDPRemoteSystemDiscovery with a set of filters. filters The set of filters.
|
Initializes the [CDPRemoteSystemDiscovery]( ) with a set of filters.
|
||||||
|
|
||||||
#### Returns
|
#### Returns
|
||||||
The initialized [CDRemoteSystemDiscovery](#interface_c_d_remote_system_discovery), otherwise nil.
|
The initialized [CDRemoteSystemDiscovery](#interface_c_d_remote_system_discovery), otherwise nil.
|
||||||
|
|
||||||
### start
|
### start
|
||||||
`public virtual nullable NSError * start()`
|
`-(nullable NSError*)start;`
|
||||||
|
|
||||||
Attempts to find RemoteSystems.
|
Begins discovering remote systems.
|
||||||
|
|
||||||
#### Returns
|
#### Returns
|
||||||
An error describing why the discovery could not be initiated, otherwise nil.
|
An error describing why the discovery could not be initiated, otherwise nil.
|
||||||
|
|
||||||
#### `public virtual nullable NSError * stop()`
|
### stop
|
||||||
|
`(nullable NSError*)stop;`
|
||||||
|
|
||||||
Stops the active discovery.
|
Stops the active discovery.
|
||||||
|
|
||||||
#### Returns
|
#### Returns
|
||||||
An error describing why the discovery could not be stopped, otherwise nil.
|
An error describing why the discovery could not be stopped, otherwise nil.
|
||||||
|
|
||||||
#### findByHostName
|
### findByHostName
|
||||||
`public virtual nullable NSError * findByHostName:(nonnull NSString * hostname)`
|
`-(nullable NSError*)findByHostName:(nonnull NSString*)hostname;`
|
||||||
|
|
||||||
Attempts to find a PeerSystem proximally by its IP.
|
Attempts to find a system proximally using its IP address.
|
||||||
|
|
||||||
#### Returns
|
#### Returns
|
||||||
An error describing why the discovery could not be initiated, otherwise nil.
|
An error describing why the discovery could not be initiated, otherwise nil.
|
|
@ -1,45 +1,59 @@
|
||||||
# protocol `CDRemoteSystemDiscoveryDelegate`
|
# protocol `CDRemoteSystemDiscoveryDelegate`
|
||||||
|
|
||||||
|
```
|
||||||
@class CDRemoteSystemDiscovery;
|
|
||||||
|
|
||||||
/**
|
|
||||||
* @brief Set of methods to be implemented to act as a CDRemoteSystemDiscovery delegate.
|
|
||||||
*/
|
|
||||||
@protocol CDRemoteSystemDiscoveryDelegate <NSObject>
|
@protocol CDRemoteSystemDiscoveryDelegate <NSObject>
|
||||||
|
```
|
||||||
|
|
||||||
/**
|
Set of methods to be implemented by objects acting as delegates for the [CDRemoteSystemDiscovery]( ) class.
|
||||||
* @brief Called when a Remote System has been discovered.
|
|
||||||
* @remarks Optional
|
|
||||||
* @param discovery The delegating Remote System Discovery.
|
|
||||||
* @param remoteSystem The discovered Remote System.
|
|
||||||
*/
|
|
||||||
@optional
|
|
||||||
-(void)remoteSystemDiscoveryFound:(nonnull CDRemoteSystemDiscovery*)discovery remoteSystem:(nonnull CDRemoteSystem*)remoteSystem;
|
|
||||||
|
|
||||||
/**
|
## Summary
|
||||||
* @brief Called when a previously discovered Remote System has been removed.
|
|
||||||
* @remarks Optional
|
|
||||||
* @param discovery The delegating CDRemoteSystemDiscovery.
|
|
||||||
* @param remoteSystem The discovered Remote System.
|
|
||||||
*/
|
|
||||||
@optional
|
|
||||||
-(void)remoteSystemDiscoveryRemoved:(nonnull CDRemoteSystemDiscovery*)discovery remoteSystem:(nonnull CDRemoteSystem*)remoteSystem;
|
|
||||||
|
|
||||||
/**
|
Members | Descriptions
|
||||||
* @brief Called when a previously discovered RemoteSystem has been updated.
|
--------------------------------|---------------------------------------------
|
||||||
* @remarks Optional
|
remoteSystemDiscoveryFound | Called when a remote system has been discovered.
|
||||||
* @param discovery The delegating CDRemoteSystemDiscovery.
|
remoteSystemDiscoveryRemoved | Called when a previously discovered remote system has been removed.
|
||||||
* @param remoteSystem The discovered Remote System.
|
remoteSystemDiscoveryUpdated | Called when a previously discovered remote system has been updated.
|
||||||
*/
|
remoteSystemDiscoveryCompleted | Called when the discovery operation has completed successfully.
|
||||||
@optional
|
|
||||||
-(void)remoteSystemDiscoveryUpdated:(nonnull CDRemoteSystemDiscovery*)discovery remoteSystem:(nonnull CDRemoteSystem*)remoteSystem;
|
|
||||||
|
|
||||||
/**
|
## methods
|
||||||
* @brief Called when the discovery operation has completed successfully.
|
|
||||||
* @param discovery The delegating CDRemoteSystemDiscovery.
|
### remoteSystemDiscoveryFound
|
||||||
*/
|
`@optional
|
||||||
@optional
|
-(void)remoteSystemDiscoveryFound:(nonnull CDRemoteSystemDiscovery*)discovery remoteSystem:(nonnull CDRemoteSystem*)remoteSystem;`
|
||||||
-(void)remoteSystemDiscoveryCompleted:(nonnull CDRemoteSystemDiscovery*)discovery;
|
|
||||||
|
Called when a remote system has been discovered.
|
||||||
|
|
||||||
|
#### Parameters
|
||||||
|
* `discovery` The delegating [CDRemoteSystemDiscovery]( ) instance.
|
||||||
|
* `remoteSystem` The discovered [RemoteSystem]( ) instance.
|
||||||
|
|
||||||
|
### remoteSystemDiscoveryRemoved
|
||||||
|
`@optional
|
||||||
|
-(void)remoteSystemDiscoveryRemoved:(nonnull CDRemoteSystemDiscovery*)discovery remoteSystem:(nonnull CDRemoteSystem*)remoteSystem;`
|
||||||
|
|
||||||
|
Called when a previously discovered remote system has been removed.
|
||||||
|
|
||||||
|
#### Parameters
|
||||||
|
* `discovery` The delegating [CDRemoteSystemDiscovery]( ) instance.
|
||||||
|
* `remoteSystem` The removed [RemoteSystem]( ) instance.
|
||||||
|
|
||||||
|
### remoteSystemDiscoveryRemoved
|
||||||
|
`@optional
|
||||||
|
-(void)remoteSystemDiscoveryUpdated:(nonnull CDRemoteSystemDiscovery*)discovery remoteSystem:(nonnull CDRemoteSystem*)remoteSystem;`
|
||||||
|
|
||||||
|
Called when a previously discovered remote system has been updated.
|
||||||
|
|
||||||
|
#### Parameters
|
||||||
|
* `discovery` The delegating [CDRemoteSystemDiscovery]( ) instance.
|
||||||
|
* `remoteSystem` The updated [RemoteSystem]( ) instance.
|
||||||
|
|
||||||
|
|
||||||
|
### remoteSystemDiscoveryCompleted
|
||||||
|
`@optional
|
||||||
|
-(void)remoteSystemDiscoveryCompleted:(nonnull CDRemoteSystemDiscovery*)discovery;`
|
||||||
|
|
||||||
|
Called when the discovery operation has completed successfully.
|
||||||
|
|
||||||
|
#### Parameters
|
||||||
|
* `discovery` The delegating [CDRemoteSystemDiscovery]( ) instance.
|
||||||
|
|
||||||
@end
|
|
||||||
|
|
|
@ -10,3 +10,5 @@
|
||||||
@property (nonatomic)BOOL discoverAll;
|
@property (nonatomic)BOOL discoverAll;
|
||||||
|
|
||||||
@end
|
@end
|
||||||
|
|
||||||
|
TBD
|
|
@ -1,9 +1,15 @@
|
||||||
//
|
# enum `CDRemoteSystemDiscoveryType`
|
||||||
// Copyright (c) Microsoft Corporation. All rights reserved.
|
|
||||||
//
|
|
||||||
|
|
||||||
typedef NS_ENUM(NSInteger, CDRemoteSystemDiscoveryType) {
|
```
|
||||||
CDRemoteSystemDiscoveryTypeCloud = 1,
|
typedef NS_ENUM(NSInteger, CDRemoteSystemDiscoveryType)
|
||||||
CDRemoteSystemDiscoveryTypeProximal = 1 << 1,
|
```
|
||||||
CDRemoteSystemDiscoveryTypeAny = 0xFFFF,
|
|
||||||
};
|
## Fields
|
||||||
|
|
||||||
|
Name | Value
|
||||||
|
--------------------------------|---------------------------------------------
|
||||||
|
CDRemoteSystemDiscoveryTypeCloud | 1
|
||||||
|
CDRemoteSystemDiscoveryTypeProximal | 1 << 1
|
||||||
|
CDRemoteSystemDiscoveryTypeAny | 0xFFFF
|
||||||
|
|
||||||
|
TBD
|
|
@ -1,33 +1,34 @@
|
||||||
# class `CDRemoteSystemDiscoveryTypeFilter`
|
# class `CDRemoteSystemDiscoveryTypeFilter`
|
||||||
|
|
||||||
```
|
```
|
||||||
class CDRemoteSystemDiscoveryTypeFilter
|
@interface CDRemoteSystemDiscoveryTypeFilter : NSObject<CDRemoteSystemFilter>
|
||||||
: public NSObject
|
|
||||||
: public <CDRemoteSystemFilter>
|
|
||||||
```
|
```
|
||||||
|
|
||||||
A class used which represents a filter based upon discovery type.
|
A class used to filter remote systems based upon discovery type.
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
## Summary
|
## Summary
|
||||||
|
|
||||||
Members | Descriptions
|
Members | Descriptions
|
||||||
--------------------------------|---------------------------------------------
|
--------------------------------|---------------------------------------------
|
||||||
`public virtual (unavailable("init not available. Please use initWithKind." __attribute__()` |
|
type | The discovery type to filter for.
|
||||||
`public virtual nullable instancetype initWithType:(CDRemoteSystemDiscoveryType initType)` | Initializes the [CDRemoteSystemDiscoveryTypeFilter](#interface_c_d_remote_system_discovery_type_filter) with a discovery type. initType The discovery type.
|
initWithType | Initializes the [CDRemoteSystemDiscoveryTypeFilter]( ) with a discovery type.
|
||||||
|
|
||||||
## Members
|
## Properties
|
||||||
|
|
||||||
#### `public virtual (unavailable("init not available. Please use initWithKind." __attribute__()`
|
### type
|
||||||
|
`@property (nonatomic, readonly)CDRemoteSystemDiscoveryType type;`
|
||||||
|
|
||||||
|
The discovery type to filter for.
|
||||||
|
|
||||||
|
## Methods
|
||||||
|
|
||||||
|
### initWithType
|
||||||
|
`-(nullable instancetype)initWithType:(CDRemoteSystemDiscoveryType)initType;`
|
||||||
|
|
||||||
|
Initializes the [CDRemoteSystemDiscoveryTypeFilter]( ) with a discovery type.
|
||||||
|
|
||||||
#### `public virtual nullable instancetype initWithType:(CDRemoteSystemDiscoveryType initType)`
|
#### Parameters
|
||||||
|
* `initType` The discovery type.
|
||||||
Initializes the [CDRemoteSystemDiscoveryTypeFilter](#interface_c_d_remote_system_discovery_type_filter) with a discovery type. initType The discovery type.
|
|
||||||
|
|
||||||
#### Returns
|
#### Returns
|
||||||
The initialized [CDRemoteSystemDiscoveryTypeFilter](#interface_c_d_remote_system_discovery_type_filter), otherwise nil.
|
The initialized [CDRemoteSystemDiscoveryTypeFilter](#interface_c_d_remote_system_discovery_type_filter) if successful, otherwise nil.
|
|
@ -1,16 +1,26 @@
|
||||||
//
|
# protocol `CDRemoteSystemFilter`
|
||||||
// Copyright (c) Microsoft Corporation. All rights reserved.
|
|
||||||
//
|
|
||||||
|
|
||||||
#import "CDRemoteSystem.h"
|
|
||||||
|
|
||||||
|
```
|
||||||
@protocol CDRemoteSystemFilter
|
@protocol CDRemoteSystemFilter
|
||||||
|
```
|
||||||
|
|
||||||
/**
|
Set of methods to be implemented by objects acting as remote system discovery filters.
|
||||||
* @brief Checks whether a Remote System is matched by the current filter.
|
|
||||||
* @param remoteSystem The Remote System.
|
|
||||||
* @returns Whether the filter matches the specified Remote System.
|
|
||||||
*/
|
|
||||||
-(BOOL)matchesRemoteSystem:(nonnull CDRemoteSystem*)remoteSystem;
|
|
||||||
|
|
||||||
@end
|
## Summary
|
||||||
|
|
||||||
|
Members | Descriptions
|
||||||
|
--------------------------------|---------------------------------------------
|
||||||
|
matchesRemoteSystem | Checks whether a remote system passes the current filter.
|
||||||
|
|
||||||
|
## Methods
|
||||||
|
|
||||||
|
### matchesRemoteSystem
|
||||||
|
`-(BOOL)matchesRemoteSystem:(nonnull CDRemoteSystem*)remoteSystem;`
|
||||||
|
|
||||||
|
Checks whether a remote system passes the current filter.
|
||||||
|
|
||||||
|
#### Parameters
|
||||||
|
* `remoteSystem` The remote system to check.
|
||||||
|
|
||||||
|
#### Returns
|
||||||
|
**TRUE** if the given remote system passes through the filter, otherwise **FALSE**.
|
||||||
|
|
|
@ -1,35 +1,19 @@
|
||||||
# struct `CDRemoteSystemKindReadable`
|
# struct `CDRemoteSystemKind`
|
||||||
|
|
||||||
## Summary
|
```
|
||||||
|
const struct CDRemoteSystemKindReadable CDRemoteSystemKind
|
||||||
|
```
|
||||||
|
|
||||||
Members | Descriptions
|
## Fields
|
||||||
|
|
||||||
|
Name | Value
|
||||||
--------------------------------|---------------------------------------------
|
--------------------------------|---------------------------------------------
|
||||||
`public __unsafe_unretained NSString * unknown` |
|
unknown | `@"Unknown"`
|
||||||
`public __unsafe_unretained NSString * desktop` |
|
desktop | `@"Desktop"`
|
||||||
`public __unsafe_unretained NSString * holographic` |
|
holographic | `@"Holographic"`
|
||||||
`public __unsafe_unretained NSString * phone` |
|
phone | `@"Phone"`
|
||||||
`public __unsafe_unretained NSString * xbox` |
|
xbox | `@"Xbox"`
|
||||||
`public __unsafe_unretained NSString * hub` |
|
hub | `@"Hub"`
|
||||||
`public __unsafe_unretained NSString * iPhone` |
|
iPhone | `@"iPhone"`
|
||||||
`public __unsafe_unretained NSString * android` |
|
android | `@"Android"`
|
||||||
`public __unsafe_unretained NSString * linux` |
|
linux | `@"Linux"`
|
||||||
|
|
||||||
## Members
|
|
||||||
|
|
||||||
#### `public __unsafe_unretained NSString * unknown`
|
|
||||||
|
|
||||||
#### `public __unsafe_unretained NSString * desktop`
|
|
||||||
|
|
||||||
#### `public __unsafe_unretained NSString * holographic`
|
|
||||||
|
|
||||||
#### `public __unsafe_unretained NSString * phone`
|
|
||||||
|
|
||||||
#### `public __unsafe_unretained NSString * xbox`
|
|
||||||
|
|
||||||
#### `public __unsafe_unretained NSString * hub`
|
|
||||||
|
|
||||||
#### `public __unsafe_unretained NSString * iPhone`
|
|
||||||
|
|
||||||
#### `public __unsafe_unretained NSString * android`
|
|
||||||
|
|
||||||
#### `public __unsafe_unretained NSString * linux`
|
|
|
@ -1,21 +1,23 @@
|
||||||
# class `CDRemoteSystemKindFilter`
|
# class `CDRemoteSystemKindFilter`
|
||||||
|
|
||||||
```
|
```
|
||||||
class CDRemoteSystemKindFilter
|
@interface CDRemoteSystemKindFilter : NSObject<CDRemoteSystemFilter>
|
||||||
: public NSObject
|
|
||||||
: public <CDRemoteSystemFilter>
|
|
||||||
```
|
```
|
||||||
|
|
||||||
A class used to find RemoteSystems.
|
A class used to filter remote systems based upon device kind.
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
## Summary
|
## Summary
|
||||||
|
|
||||||
Members | Descriptions
|
Members | Descriptions
|
||||||
--------------------------------|---------------------------------------------
|
--------------------------------|---------------------------------------------
|
||||||
`public virtual void addKind:(nonnull NSString * initKind)` |
|
addKind | Adds a device type to the set of types allowed by this filter.
|
||||||
|
|
||||||
## Members
|
## Methods
|
||||||
|
|
||||||
#### `public virtual void addKind:(nonnull NSString * initKind)`
|
### addKind
|
||||||
|
`public virtual void addKind:(nonnull NSString * initKind)`
|
||||||
|
|
||||||
|
Adds a device type to the set of types allowed by this filter.
|
||||||
|
|
||||||
|
#### Parameters
|
||||||
|
* `initKind` A string representing the device kind to add to the filter. This should be one of the values held by the [CDRemoteSystemKind](CDRemoteSystemKind.md) struct.
|
||||||
|
|
|
@ -1,15 +1,17 @@
|
||||||
//
|
# enum `CDRemoteSystemStatus`
|
||||||
// Copyright (c) Microsoft Corporation. All rights reserved.
|
```
|
||||||
//
|
typedef NS_ENUM(NSInteger, CDRemoteSystemStatus)
|
||||||
|
```
|
||||||
|
|
||||||
/** @brief The result of an action against a Remote System. */
|
Contains values that describe the availability of a remote system.
|
||||||
typedef NS_ENUM(NSInteger, CDRemoteSystemStatus) {
|
|
||||||
/** @brief The status of the RemoteSystem is unknown. */
|
## Fields
|
||||||
CDRemoteSystemStatusUnknown = 0,
|
|
||||||
/** @brief The status of the RemoteSystem is still being determined. */
|
Name | Value | Description
|
||||||
CDRemoteSystemStatusDiscoveringAvailability,
|
--------------------------------|--------------------------------|------------
|
||||||
/** @brief The RemoteSystem is reported as being available. */
|
CDRemoteSystemStatusUnknown | 0
|
||||||
CDRemoteSystemStatusAvailable,
|
CDRemoteSystemStatusDiscoveringAvailability |
|
||||||
/** @brief The RemoteSystem is reported as being unavailable. */
|
CDRemoteSystemStatusAvailable |
|
||||||
CDRemoteSystemStatusUnavailable
|
CDRemoteSystemStatusUnavailable |
|
||||||
};
|
|
||||||
|
TBD
|
Загрузка…
Ссылка в новой задаче