# Platform Channels (Flutter) > MethodChannel, EventChannel, 네이티브 코드 통합, Android/iOS 네이티브 API, FFI - 20 면접 질문 - Senior - [면접 질문: Flutter](https://sharpskill.dev/ko/technologies/flutter/interview-questions.md) ## 1. Flutter에서 Platform Channel이란 무엇입니까? **답변** Platform Channel은 Flutter의 Dart 코드와 플랫폼의 네이티브 코드(Android/iOS) 사이의 양방향 통신 메커니즘입니다. 하드웨어 센서 접근, 네이티브 SDK 사용, 레거시 코드 통합 등 Flutter에서 사용할 수 없는 네이티브 API를 호출할 수 있게 해줍니다. 통신은 표준화된 바이너리 인코딩을 사용해 두 환경 간에 비동기 메시지를 전송합니다. ## 2. MethodChannel과 EventChannel의 주요 차이점은 무엇입니까? **답변** MethodChannel은 단일 응답을 가진 일회성 메서드 호출(요청/응답 패턴)을 가능하게 하며, 배터리 잔량 가져오기나 네이티브 함수 실행 같은 작업에 적합합니다. EventChannel은 네이티브 코드로부터 연속적인 데이터 스트림을 Dart Stream으로 받을 수 있어 GPS 업데이트, 센서 읽기, 시스템 알림 같은 반복적인 이벤트에 적합합니다. ## 3. MethodChannel에서 데이터를 직렬화할 때 기본적으로 사용되는 코덱은 무엇입니까? **답변** StandardMethodCodec은 MethodChannel이 사용하는 기본 코덱입니다. Dart와 네이티브 코드 사이에서 교환되는 값을 인코딩하고 디코딩하기 위해 StandardMessageCodec을 사용합니다. 이 코덱은 기본 타입(null, bool, int, double, String), 리스트, 맵을 지원합니다. 특정한 요구사항이 있을 경우 커스텀 코덱을 만들거나 JSON 직렬화를 위해 JSONMethodCodec을 사용할 수 있습니다. ## 17개 추가 질문 이용 가능 - Platform Channel에 고유한 이름을 정의하려면 어떻게 해야 합니까? - Android 네이티브 측에서 MethodChannel 호출은 어떤 스레드에서 수신됩니까? 무료로 가입하기: https://sharpskill.dev/ko/login ## 기타 Flutter 면접 주제 - [Dart 기초](https://sharpskill.dev/ko/technologies/flutter/interview-questions/dart-basics.md): 25개 질문, Junior - [Dart 언어 핵심](https://sharpskill.dev/ko/technologies/flutter/interview-questions/dart-language-essentials.md): 15개 질문, Junior - [Flutter 기초](https://sharpskill.dev/ko/technologies/flutter/interview-questions/flutter-fundamentals.md): 18개 질문, Junior - [위젯 생명주기](https://sharpskill.dev/ko/technologies/flutter/interview-questions/widget-lifecycle.md): 20개 질문, Junior - [로컬 스토리지](https://sharpskill.dev/ko/technologies/flutter/interview-questions/local-storage.md): 20개 질문, Junior - [애플리케이션 생명주기](https://sharpskill.dev/ko/technologies/flutter/interview-questions/app-lifecycle.md): 20개 질문, Junior - [Layouts & Constraints](https://sharpskill.dev/ko/technologies/flutter/interview-questions/layouts-constraints.md): 24개 질문, Mid-Level - [ListView & GridView](https://sharpskill.dev/ko/technologies/flutter/interview-questions/listview-gridview.md): 25개 질문, Mid-Level - [내비게이션 및 라우팅](https://sharpskill.dev/ko/technologies/flutter/interview-questions/navigation-routing.md): 22개 질문, Mid-Level - [기본 상태 관리](https://sharpskill.dev/ko/technologies/flutter/interview-questions/state-management-basics.md): 22개 질문, Mid-Level - [Provider 패턴](https://sharpskill.dev/ko/technologies/flutter/interview-questions/provider-pattern.md): 18개 질문, Mid-Level - [Networking & HTTP](https://sharpskill.dev/ko/technologies/flutter/interview-questions/networking-http.md): 20개 질문, Mid-Level - [JSON 직렬화](https://sharpskill.dev/ko/technologies/flutter/interview-questions/json-serialization.md): 20개 질문, Mid-Level - [로컬 데이터베이스](https://sharpskill.dev/ko/technologies/flutter/interview-questions/local-database.md): 22개 질문, Mid-Level - [폼과 유효성 검사](https://sharpskill.dev/ko/technologies/flutter/interview-questions/forms-validation.md): 20개 질문, Mid-Level - [애니메이션](https://sharpskill.dev/ko/technologies/flutter/interview-questions/animations.md): 20개 질문, Mid-Level - [Firebase 통합](https://sharpskill.dev/ko/technologies/flutter/interview-questions/firebase-integration.md): 18개 질문, Mid-Level - [유닛 테스트](https://sharpskill.dev/ko/technologies/flutter/interview-questions/unit-testing.md): 20개 질문, Mid-Level - [위젯 테스트](https://sharpskill.dev/ko/technologies/flutter/interview-questions/widget-testing.md): 18개 질문, Mid-Level - [빌드 및 배포](https://sharpskill.dev/ko/technologies/flutter/interview-questions/build-deployment.md): 16개 질문, Mid-Level - [패키지 관리](https://sharpskill.dev/ko/technologies/flutter/interview-questions/package-management.md): 16개 질문, Mid-Level - [메모리 및 성능](https://sharpskill.dev/ko/technologies/flutter/interview-questions/memory-performance.md): 22개 질문, Senior - [Streams & RxDart](https://sharpskill.dev/ko/technologies/flutter/interview-questions/streams-rxdart.md): 24개 질문, Senior - [고급 State Management](https://sharpskill.dev/ko/technologies/flutter/interview-questions/advanced-state-management.md): 26개 질문, Senior - [Flutter Design Patterns](https://sharpskill.dev/ko/technologies/flutter/interview-questions/flutter-design-patterns.md): 24개 질문, Senior - [성능 최적화](https://sharpskill.dev/ko/technologies/flutter/interview-questions/performance-optimization.md): 26개 질문, Senior - [Custom Painting](https://sharpskill.dev/ko/technologies/flutter/interview-questions/custom-painting.md): 22개 질문, Senior - [Flutter 애플리케이션 아키텍처](https://sharpskill.dev/ko/technologies/flutter/interview-questions/flutter-app-architecture.md): 22개 질문, Senior --- Source: SharpSkill (https://sharpskill.dev), tech interview preparation for your real stack. HTML version of this page: https://sharpskill.dev/ko/technologies/flutter/interview-questions/platform-channels