Commit 2d29c625 authored by Michael Thomsen's avatar Michael Thomsen Committed by GitHub

Update links to platform services -> channels (#8975)

parent 18db5a2e
# Example of calling platform services from Flutter # Example of calling platform services from Flutter
This project demonstrates how to connect a Flutter app to platform specific services. This project demonstrates how to connect a Flutter app to platform specific services.
You can read more about You can read more about
[accessing platform and third-party services in Flutter](https://flutter.io/platform-services/). [accessing platform and third-party services in Flutter](https://flutter.io/platform-channels/).
## iOS ## iOS
You can use the commands `flutter build` and `flutter run` from the app's root You can use the commands `flutter build` and `flutter run` from the app's root
......
...@@ -26,7 +26,7 @@ import 'platform_messages.dart'; ...@@ -26,7 +26,7 @@ import 'platform_messages.dart';
/// one message handler can be registered with the channel name at any given /// one message handler can be registered with the channel name at any given
/// time. /// time.
/// ///
/// See: <https://flutter.io/platform-services/> /// See: <https://flutter.io/platform-channels/>
class PlatformMessageChannel<T> { class PlatformMessageChannel<T> {
/// Creates a [PlatformMessageChannel] with the specified [name] and [codec]. /// Creates a [PlatformMessageChannel] with the specified [name] and [codec].
/// ///
...@@ -102,7 +102,7 @@ class PlatformMessageChannel<T> { ...@@ -102,7 +102,7 @@ class PlatformMessageChannel<T> {
/// The identity of the channel is given by its name, so other uses of that name /// The identity of the channel is given by its name, so other uses of that name
/// with may interfere with this channel's communication. /// with may interfere with this channel's communication.
/// ///
/// See: <https://flutter.io/platform-services/> /// See: <https://flutter.io/platform-channels/>
class PlatformMethodChannel { class PlatformMethodChannel {
/// Creates a [PlatformMethodChannel] with the specified [name]. /// Creates a [PlatformMethodChannel] with the specified [name].
/// ///
......
...@@ -20,7 +20,7 @@ typedef Future<ByteData> _PlatformMessageHandler(ByteData message); ...@@ -20,7 +20,7 @@ typedef Future<ByteData> _PlatformMessageHandler(ByteData message);
/// * [PlatformMethodChannel], which provides higher-level platform /// * [PlatformMethodChannel], which provides higher-level platform
/// communication such as method invocations and event streams. /// communication such as method invocations and event streams.
/// ///
/// See: <https://flutter.io/platform-services/> /// See: <https://flutter.io/platform-channels/>
class PlatformMessages { class PlatformMessages {
PlatformMessages._(); PlatformMessages._();
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment