microsoft/vscode-react-native

Public

mirrored fromhttps://github.com/microsoft/vscode-react-nativeAvailable

CodeCommitsIssuesPull requestsActionsInsightsSecurity
1.5.1

Branches

Tags

  • No tags available.
0Branches0Tags
Go to file
Add file
Code

Clone

HTTPS

Download ZIP

src/extension/networkInspector/devices/iOSClienDevice.ts

23lines · modecode

1// Copyright (c) Microsoft Corporation. All rights reserved.
2// Licensed under the MIT license. See LICENSE file in the project root for details.
3
4import { DeviceType } from "../../launchArgs";
5import { ClientOS } from "../clientUtils";
6import { BaseClientDevice } from "./baseClientDevice";
7
8export class IOSClienDevice extends BaseClientDevice {
9 private _state: string;
10
11 constructor(id: string, deviceType: DeviceType, os: ClientOS, state: string, name?: string) {
12 super(id, deviceType, os, name);
13 this._state = state;
14 }
15
16 get state(): string {
17 return this._state;
18 }
19
20 set state(state: string) {
21 this._state = state;
22 }
23}
24