| 1 | /** |
| 2 | * Copyright (c) Meta Platforms, Inc. and affiliates. |
| 3 | * |
| 4 | * This source code is licensed under the MIT license found in the |
| 5 | * LICENSE file in the root directory of this source tree. |
| 6 | */ |
| 7 | |
| 8 | import type {ServerPlatform} from '../src/serverPlatform'; |
| 9 | |
| 10 | export const platform: ServerPlatform = { |
| 11 | platformName: 'androidStudio', |
| 12 | async handleMessageFromClient(this: ServerPlatform, _repo, _ctx, message, _postMessage) { |
| 13 | switch (message.type) { |
| 14 | // TODO: handle any android-studio platform file events |
| 15 | case 'platform/openFile': { |
| 16 | break; |
| 17 | } |
| 18 | case 'platform/openFiles': { |
| 19 | break; |
| 20 | } |
| 21 | } |
| 22 | }, |
| 23 | }; |
| 24 | |