Summary: Make sure mobile client and sonar desktop app keep debugger mode in sync Desktop client listens to available modes and currently selected mode which is what we use here. Later we can tweak the logic to try to restore last mode if desktop or mobile clients crash / disconnect etc Reviewed By: lblasa Differential Revision: D49384358 fbshipit-source-id: 5bc1f4240253b68a746dfa5feba4b352f4e261a2
31 lines
627 B
Objective-C
31 lines
627 B
Objective-C
/*
|
|
* Copyright (c) Meta Platforms, Inc. and affiliates.
|
|
*
|
|
* This source code is licensed under the MIT license found in the
|
|
* LICENSE file in the root directory of this source tree.
|
|
*/
|
|
|
|
#if FB_SONARKIT_ENABLED
|
|
|
|
#import <Foundation/Foundation.h>
|
|
#import "UIDTraversalMode.h"
|
|
|
|
NS_ASSUME_NONNULL_BEGIN
|
|
|
|
@class UIDFrameworkEventMetadata;
|
|
|
|
@interface UIDInitEvent : NSObject
|
|
|
|
@property(nonatomic) NSUInteger rootId;
|
|
@property(nonatomic) UIDTraversalMode currentTraversalMode;
|
|
@property(nonatomic, strong)
|
|
NSArray<UIDFrameworkEventMetadata*>* frameworkEventMetadata;
|
|
|
|
+ (NSString*)name;
|
|
|
|
@end
|
|
|
|
NS_ASSUME_NONNULL_END
|
|
|
|
#endif
|