microsoft/vscode-react-native

Public

mirrored from https://github.com/microsoft/vscode-react-nativeAvailable

CodeCommitsIssuesPull requestsActionsInsightsSecurity
1.5.2

Branches

Tags

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

Clone

HTTPS

Download ZIP

src/extension/networkInspector/devices/iOSClienDevice.ts

23lines · modeblame

4bb0956eRedMickey5 years ago1// 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 {
9private _state: string;
10
11constructor(id: string, deviceType: DeviceType, os: ClientOS, state: string, name?: string) {
12super(id, deviceType, os, name);
13this._state = state;
14}
15
16get state(): string {
17return this._state;
18}
19
20set state(state: string) {
21this._state = state;
22}
23}