Removed scary experimental warnings for new embedding. (#44314) (flutter/engine#13738)

This commit is contained in:
Matt Carroll 2019-11-07 22:54:10 +00:00 committed by GitHub
parent d652a0a566
commit d024332cdf
5 changed files with 1 additions and 13 deletions

View File

@ -37,8 +37,6 @@ import io.flutter.plugin.platform.PlatformViewsController;
/**
* A single Flutter execution environment.
* <p>
* WARNING: THIS CLASS IS CURRENTLY EXPERIMENTAL. USE AT YOUR OWN RISK.
* <p>
* The {@code FlutterEngine} is the container through which Dart code can be run in an Android
* application.
* <p>

View File

@ -33,9 +33,6 @@ import io.flutter.view.FlutterCallbackInformation;
/**
* Interface between Flutter embedding's Java code and Flutter engine's C/C++ code.
*
* WARNING: THIS CLASS IS EXPERIMENTAL. DO NOT SHIP A DEPENDENCY ON THIS CODE.
* IF YOU USE IT, WE WILL BREAK YOU.
*
* Flutter's engine is built with C/C++. The Android Flutter embedding is responsible for
* coordinating Android OS events and app user interactions with the C/C++ engine. Such coordination
* requires messaging from an Android app in Java code to the C/C++ engine code. This

View File

@ -13,9 +13,6 @@ import java.util.*;
/**
* Arguments that can be delivered to the Flutter shell when it is created.
* <p>
* WARNING: THIS CLASS IS EXPERIMENTAL. DO NOT SHIP A DEPENDENCY ON THIS CODE.
* IF YOU USE IT, WE WILL BREAK YOU.
* <p>
* The term "shell" refers to the native code that adapts Flutter to different platforms. Flutter's
* Android Java code initializes a native "shell" and passes these arguments to that native shell
* when it is initialized. See {@link io.flutter.view.FlutterMain#ensureInitializationComplete(Context, String[])}

View File

@ -20,9 +20,6 @@ import io.flutter.plugin.common.BinaryMessenger;
/**
* Message conduit for 2-way communication between Android and Dart.
* <p>
* WARNING: THIS CLASS IS EXPERIMENTAL. DO NOT SHIP A DEPENDENCY ON THIS CODE.
* IF YOU USE IT, WE WILL BREAK YOU.
* <p>
* See {@link BinaryMessenger}, which sends messages from Android to Dart
* <p>
* See {@link PlatformMessageHandler}, which handles messages to Android from Dart

View File

@ -8,8 +8,7 @@ import android.support.annotation.NonNull;
import android.support.annotation.Nullable;
/**
* WARNING: THIS CLASS IS EXPERIMENTAL. DO NOT SHIP A DEPENDENCY ON THIS CODE.
* IF YOU USE IT, WE WILL BREAK YOU.
* Handler that receives messages from Dart code.
*/
public interface PlatformMessageHandler {
void handleMessageFromDart(@NonNull final String channel, @Nullable byte[] message, final int replyId);