File tree 2 files changed +11
-4
lines changed
src/darwin/Framework/CHIP/XPC Protocol
2 files changed +11
-4
lines changed Original file line number Diff line number Diff line change 1
- //
2
1
/* *
3
- * Copyright (c) 2023 Project CHIP Authors
2
+ * Copyright (c) 2024 Project CHIP Authors
4
3
*
5
4
* Licensed under the Apache License, Version 2.0 (the "License");
6
5
* you may not use this file except in compliance with the License.
15
14
* limitations under the License.
16
15
*/
17
16
17
+ #import < Matter/MTRDefines.h>
18
18
#import < Matter/MTRDevice.h> // for MTRDeviceState
19
19
20
20
NS_ASSUME_NONNULL_BEGIN
21
21
22
+ MTR_NEWLY_AVAILABLE
22
23
@protocol MTRXPCClientProtocol_MTRDevice <NSObject >
23
24
- (oneway void )device : (NSNumber *)nodeID stateChanged : (MTRDeviceState)state ;
24
25
- (oneway void )device : (NSNumber *)nodeID receivedAttributeReport : (NSArray <NSDictionary<NSString *, id> *> *)attributeReport ;
@@ -28,6 +29,7 @@ NS_ASSUME_NONNULL_BEGIN
28
29
- (oneway void )deviceConfigurationChanged : (NSNumber *)nodeID ;
29
30
@end
30
31
32
+ MTR_NEWLY_AVAILABLE
31
33
@protocol MTRXPCClientProtocol_MTRDeviceController <NSObject >
32
34
// Not Supported via XPC
33
35
// - (oneway void)controller:(NSUUID *)controller statusUpdate:(MTRCommissioningStatus)status;
@@ -36,6 +38,7 @@ NS_ASSUME_NONNULL_BEGIN
36
38
// - (oneway void)controller:(NSUUID *)controller readCommissioningInfo:(MTRProductIdentity *)info;
37
39
@end
38
40
41
+ MTR_NEWLY_AVAILABLE
39
42
@protocol MTRXPCClientProtocol <NSObject , MTRXPCClientProtocol_MTRDevice, MTRXPCClientProtocol_MTRDeviceController>
40
43
@end
41
44
Original file line number Diff line number Diff line change 1
- //
2
1
/* *
3
- * Copyright (c) 2023 Project CHIP Authors
2
+ * Copyright (c) 2024 Project CHIP Authors
4
3
*
5
4
* Licensed under the Apache License, Version 2.0 (the "License");
6
5
* you may not use this file except in compliance with the License.
15
14
* limitations under the License.
16
15
*/
17
16
17
+ #import < Matter/MTRDefines.h>
18
+
18
19
NS_ASSUME_NONNULL_BEGIN
19
20
21
+ MTR_NEWLY_AVAILABLE
20
22
@protocol MTRXPCServerProtocol_MTRDevice <NSObject >
21
23
22
24
- (oneway void )deviceController : (NSUUID *)controller nodeID : (NSNumber *)nodeID getStateWithReply : (void (^)(MTRDeviceState state))reply ;
@@ -45,6 +47,7 @@ NS_ASSUME_NONNULL_BEGIN
45
47
// - (oneway void)downloadLogOfType:(MTRDiagnosticLogType)type nodeID:(NSNumber *)nodeID timeout:(NSTimeInterval)timeout completion:(void (^)(NSURL * _Nullable url, NSError * _Nullable error))completion;
46
48
@end
47
49
50
+ MTR_NEWLY_AVAILABLE
48
51
@protocol MTRXPCServerProtocol_MTRDeviceController <NSObject >
49
52
50
53
- (oneway void )deviceController : (NSUUID *)controller getIsRunningWithReply : (void (^)(BOOL response))reply ;
@@ -69,6 +72,7 @@ NS_ASSUME_NONNULL_BEGIN
69
72
70
73
@end
71
74
75
+ MTR_NEWLY_AVAILABLE
72
76
@protocol MTRXPCServerProtocol <NSObject , MTRXPCServerProtocol_MTRDevice, MTRXPCServerProtocol_MTRDeviceController>
73
77
- (oneway void )deviceController : (NSUUID *)controller checkInWithContext : (NSDictionary *)context ;
74
78
@end
You can’t perform that action at this time.
0 commit comments