Update outdated links (flutter/engine#23513)
This commit is contained in:
committed by
GitHub
parent
6ca595fa99
commit
f2a937ebba
@@ -98,7 +98,7 @@ Color _scaleAlpha(Color a, double factor) {
|
||||
///
|
||||
/// See also:
|
||||
///
|
||||
/// * [Colors](https://docs.flutter.io/flutter/material/Colors-class.html), which
|
||||
/// * [Colors](https://api.flutter.dev/flutter/material/Colors-class.html), which
|
||||
/// defines the colors found in the Material Design specification.
|
||||
class Color {
|
||||
/// Construct a color from the lower 32 bits of an [int].
|
||||
|
||||
@@ -22,7 +22,7 @@ import java.util.Locale;
|
||||
* <p>Messages are encoded into binary before being sent, and binary messages received are decoded
|
||||
* into Java objects. The {@link MessageCodec} used must be compatible with the one used by the
|
||||
* Flutter application. This can be achieved by creating a <a
|
||||
* href="https://docs.flutter.io/flutter/services/BasicMessageChannel-class.html">BasicMessageChannel</a>
|
||||
* href="https://api.flutter.dev/flutter/services/BasicMessageChannel-class.html">BasicMessageChannel</a>
|
||||
* counterpart of this channel on the Dart side. The static Java type of messages sent and received
|
||||
* is {@code Object}, but only values supported by the specified {@link MessageCodec} can be used.
|
||||
*
|
||||
|
||||
@@ -10,7 +10,7 @@ import java.nio.ByteBuffer;
|
||||
* A {@link MessageCodec} using unencoded binary messages, represented as {@link ByteBuffer}s.
|
||||
*
|
||||
* <p>This codec is guaranteed to be compatible with the corresponding <a
|
||||
* href="https://docs.flutter.io/flutter/services/BinaryCodec-class.html">BinaryCodec</a> on the
|
||||
* href="https://api.flutter.dev/flutter/services/BinaryCodec-class.html">BinaryCodec</a> on the
|
||||
* Dart side. These parts of the Flutter SDK are evolved synchronously.
|
||||
*
|
||||
* <p>On the Dart side, messages are represented using {@code ByteData}.
|
||||
|
||||
@@ -12,7 +12,7 @@ import java.nio.ByteBuffer;
|
||||
/**
|
||||
* Facility for communicating with Flutter using asynchronous message passing with binary messages.
|
||||
* The Flutter Dart code should use <a
|
||||
* href="https://docs.flutter.io/flutter/services/BinaryMessages-class.html">BinaryMessages</a> to
|
||||
* href="https://api.flutter.dev/flutter/services/BinaryMessages-class.html">BinaryMessages</a> to
|
||||
* participate.
|
||||
*
|
||||
* <p>{@code BinaryMessenger} is expected to be utilized from a single thread throughout the
|
||||
|
||||
@@ -20,7 +20,7 @@ import java.util.concurrent.atomic.AtomicReference;
|
||||
* responses and events are encoded into binary before being transmitted back to Flutter. The {@link
|
||||
* MethodCodec} used must be compatible with the one used by the Flutter application. This can be
|
||||
* achieved by creating an <a
|
||||
* href="https://docs.flutter.io/flutter/services/EventChannel-class.html">EventChannel</a>
|
||||
* href="https://api.flutter.dev/flutter/services/EventChannel-class.html">EventChannel</a>
|
||||
* counterpart of this channel on the Dart side. The Java type of stream configuration arguments,
|
||||
* events, and error details is {@code Object}, but only values supported by the specified {@link
|
||||
* MethodCodec} can be used.
|
||||
|
||||
@@ -13,7 +13,7 @@ import org.json.JSONTokener;
|
||||
* A {@link MessageCodec} using UTF-8 encoded JSON messages.
|
||||
*
|
||||
* <p>This codec is guaranteed to be compatible with the corresponding <a
|
||||
* href="https://docs.flutter.io/flutter/services/JSONMessageCodec-class.html">JSONMessageCodec</a>
|
||||
* href="https://api.flutter.dev/flutter/services/JSONMessageCodec-class.html">JSONMessageCodec</a>
|
||||
* on the Dart side. These parts of the Flutter SDK are evolved synchronously.
|
||||
*
|
||||
* <p>Supports the same Java values as {@link JSONObject#wrap(Object)}.
|
||||
|
||||
@@ -13,7 +13,7 @@ import org.json.JSONObject;
|
||||
* A {@link MethodCodec} using UTF-8 encoded JSON method calls and result envelopes.
|
||||
*
|
||||
* <p>This codec is guaranteed to be compatible with the corresponding <a
|
||||
* href="https://docs.flutter.io/flutter/services/JSONMethodCodec-class.html">JSONMethodCodec</a> on
|
||||
* href="https://api.flutter.dev/flutter/services/JSONMethodCodec-class.html">JSONMethodCodec</a> on
|
||||
* the Dart side. These parts of the Flutter SDK are evolved synchronously.
|
||||
*
|
||||
* <p>Values supported as methods arguments and result payloads are those supported by {@link
|
||||
|
||||
@@ -22,7 +22,7 @@ import java.nio.ByteBuffer;
|
||||
* <p>Incoming method calls are decoded from binary on receipt, and Java results are encoded into
|
||||
* binary before being transmitted back to Flutter. The {@link MethodCodec} used must be compatible
|
||||
* with the one used by the Flutter application. This can be achieved by creating a <a
|
||||
* href="https://docs.flutter.io/flutter/services/MethodChannel-class.html">MethodChannel</a>
|
||||
* href="https://api.flutter.dev/flutter/services/MethodChannel-class.html">MethodChannel</a>
|
||||
* counterpart of this channel on the Dart side. The Java type of method call arguments and results
|
||||
* is {@code Object}, but only values supported by the specified {@link MethodCodec} can be used.
|
||||
*
|
||||
@@ -107,9 +107,9 @@ public class MethodChannel {
|
||||
*
|
||||
* <p>If no handler has been registered, any incoming method call on this channel will be handled
|
||||
* silently by sending a null reply. This results in a <a
|
||||
* href="https://docs.flutter.io/flutter/services/MissingPluginException-class.html">MissingPluginException</a>
|
||||
* href="https://api.flutter.dev/flutter/services/MissingPluginException-class.html">MissingPluginException</a>
|
||||
* on the Dart side, unless an <a
|
||||
* href="https://docs.flutter.io/flutter/services/OptionalMethodChannel-class.html">OptionalMethodChannel</a>
|
||||
* href="https://api.flutter.dev/flutter/services/OptionalMethodChannel-class.html">OptionalMethodChannel</a>
|
||||
* is used.
|
||||
*
|
||||
* @param handler a {@link MethodCallHandler}, or null to deregister.
|
||||
|
||||
@@ -21,7 +21,7 @@ import java.util.Map.Entry;
|
||||
* MessageCodec using the Flutter standard binary encoding.
|
||||
*
|
||||
* <p>This codec is guaranteed to be compatible with the corresponding <a
|
||||
* href="https://docs.flutter.io/flutter/services/StandardMessageCodec-class.html">StandardMessageCodec</a>
|
||||
* href="https://api.flutter.dev/flutter/services/StandardMessageCodec-class.html">StandardMessageCodec</a>
|
||||
* on the Dart side. These parts of the Flutter SDK are evolved synchronously.
|
||||
*
|
||||
* <p>Supported messages are acyclic values of these forms:
|
||||
|
||||
@@ -15,7 +15,7 @@ import java.nio.ByteOrder;
|
||||
* A {@link MethodCodec} using the Flutter standard binary encoding.
|
||||
*
|
||||
* <p>This codec is guaranteed to be compatible with the corresponding <a
|
||||
* href="https://docs.flutter.io/flutter/services/StandardMethodCodec-class.html">StandardMethodCodec</a>
|
||||
* href="https://api.flutter.dev/flutter/services/StandardMethodCodec-class.html">StandardMethodCodec</a>
|
||||
* on the Dart side. These parts of the Flutter SDK are evolved synchronously.
|
||||
*
|
||||
* <p>Values supported as method arguments and result payloads are those supported by {@link
|
||||
|
||||
@@ -11,7 +11,7 @@ import java.nio.charset.Charset;
|
||||
* A {@link MessageCodec} using UTF-8 encoded String messages.
|
||||
*
|
||||
* <p>This codec is guaranteed to be compatible with the corresponding <a
|
||||
* href="https://docs.flutter.io/flutter/services/StringCodec-class.html">StringCodec</a> on the
|
||||
* href="https://api.flutter.dev/flutter/services/StringCodec-class.html">StringCodec</a> on the
|
||||
* Dart side. These parts of the Flutter SDK are evolved synchronously.
|
||||
*/
|
||||
public final class StringCodec implements MessageCodec<String> {
|
||||
|
||||
@@ -128,7 +128,7 @@ public class AccessibilityBridge extends AccessibilityNodeProvider {
|
||||
// due to the time required to communicate tree changes from Flutter to Android.
|
||||
//
|
||||
// See the Flutter docs on SemanticsNode:
|
||||
// https://docs.flutter.io/flutter/semantics/SemanticsNode-class.html
|
||||
// https://api.flutter.dev/flutter/semantics/SemanticsNode-class.html
|
||||
@NonNull private final Map<Integer, SemanticsNode> flutterSemanticsTree = new HashMap<>();
|
||||
|
||||
// The set of all custom Flutter accessibility actions that are present in the running
|
||||
@@ -141,7 +141,7 @@ public class AccessibilityBridge extends AccessibilityNodeProvider {
|
||||
// custom accessibility actions,
|
||||
// https://developer.android.com/reference/android/view/accessibility/AccessibilityNodeInfo.AccessibilityAction.
|
||||
// Flutter supports custom accessibility actions via {@code customSemanticsActions} within
|
||||
// a {@code Semantics} widget, https://docs.flutter.io/flutter/widgets/Semantics-class.html.
|
||||
// a {@code Semantics} widget, https://api.flutter.dev/flutter/widgets/Semantics-class.html.
|
||||
// {@code customAccessibilityActions} are an Android-side cache of all custom accessibility
|
||||
// types declared within the running Flutter app.
|
||||
//
|
||||
@@ -154,7 +154,7 @@ public class AccessibilityBridge extends AccessibilityNodeProvider {
|
||||
// https://developer.android.com/reference/android/view/accessibility/AccessibilityNodeInfo.AccessibilityAction
|
||||
//
|
||||
// See the Flutter documentation for the Semantics widget:
|
||||
// https://docs.flutter.io/flutter/widgets/Semantics-class.html
|
||||
// https://api.flutter.dev/flutter/widgets/Semantics-class.html
|
||||
@NonNull
|
||||
private final Map<Integer, CustomAccessibilityAction> customAccessibilityActions =
|
||||
new HashMap<>();
|
||||
@@ -1837,13 +1837,13 @@ public class AccessibilityBridge extends AccessibilityNodeProvider {
|
||||
* custom accessibility actions,
|
||||
* https://developer.android.com/reference/android/view/accessibility/AccessibilityNodeInfo.AccessibilityAction.
|
||||
* Flutter supports custom accessibility actions via {@code customSemanticsActions} within a
|
||||
* {@code Semantics} widget, https://docs.flutter.io/flutter/widgets/Semantics-class.html.
|
||||
* {@code Semantics} widget, https://api.flutter.dev/flutter/widgets/Semantics-class.html.
|
||||
*
|
||||
* <p>See the Android documentation for custom accessibility actions:
|
||||
* https://developer.android.com/reference/android/view/accessibility/AccessibilityNodeInfo.AccessibilityAction
|
||||
*
|
||||
* <p>See the Flutter documentation for the Semantics widget:
|
||||
* https://docs.flutter.io/flutter/widgets/Semantics-class.html
|
||||
* https://api.flutter.dev/flutter/widgets/Semantics-class.html
|
||||
*/
|
||||
private static class CustomAccessibilityAction {
|
||||
CustomAccessibilityAction() {}
|
||||
@@ -1855,7 +1855,7 @@ public class AccessibilityBridge extends AccessibilityNodeProvider {
|
||||
|
||||
// The Flutter ID of this custom accessibility action. See Flutter's Semantics widget for
|
||||
// custom accessibility action definitions:
|
||||
// https://docs.flutter.io/flutter/widgets/Semantics-class.html
|
||||
// https://api.flutter.dev/flutter/widgets/Semantics-class.html
|
||||
private int id = -1;
|
||||
|
||||
// The ID of the standard Flutter accessibility action that this {@code
|
||||
|
||||
@@ -10,7 +10,7 @@ import android.graphics.SurfaceTexture;
|
||||
/**
|
||||
* Registry of backend textures used with a single {@link FlutterView} instance. Entries may be
|
||||
* embedded into the Flutter view using the <a
|
||||
* href="https://docs.flutter.io/flutter/widgets/Texture-class.html">Texture</a> widget.
|
||||
* href="https://api.flutter.dev/flutter/widgets/Texture-class.html">Texture</a> widget.
|
||||
*/
|
||||
public interface TextureRegistry {
|
||||
/**
|
||||
|
||||
@@ -24,7 +24,7 @@ class EncodableValue;
|
||||
// binary before being transmitted back to Flutter. The MethodCodec used must be
|
||||
// compatible with the one used by the Flutter application. This can be achieved
|
||||
// by creating an EventChannel
|
||||
// ("https://docs.flutter.io/flutter/services/EventChannel-class.html")
|
||||
// ("https://api.flutter.dev/flutter/services/EventChannel-class.html")
|
||||
// counterpart of this channel on the Dart side.
|
||||
// The C++ type of stream configuration arguments, events, and error details are
|
||||
// templated, but only values supported by the specified MethodCodec can be
|
||||
|
||||
@@ -218,7 +218,7 @@ FLUTTER_EXPORT
|
||||
* Invokes the specified Flutter method with the specified arguments, expecting
|
||||
* no results.
|
||||
*
|
||||
* @see [MethodChannel.setMethodCallHandler](https://docs.flutter.io/flutter/services/MethodChannel/setMethodCallHandler.html)
|
||||
* @see [MethodChannel.setMethodCallHandler](https://api.flutter.dev/flutter/services/MethodChannel/setMethodCallHandler.html)
|
||||
*
|
||||
* @param method The name of the method to invoke.
|
||||
* @param arguments The arguments. Must be a value supported by the codec of this
|
||||
|
||||
@@ -43,7 +43,7 @@ FLUTTER_EXPORT
|
||||
* `NSData` instances.
|
||||
*
|
||||
* This codec is guaranteed to be compatible with the corresponding
|
||||
* [BinaryCodec](https://docs.flutter.io/flutter/services/BinaryCodec-class.html)
|
||||
* [BinaryCodec](https://api.flutter.dev/flutter/services/BinaryCodec-class.html)
|
||||
* on the Dart side. These parts of the Flutter SDK are evolved synchronously.
|
||||
*
|
||||
* On the Dart side, messages are represented using `ByteData`.
|
||||
@@ -56,7 +56,7 @@ FLUTTER_EXPORT
|
||||
* A `FlutterMessageCodec` using UTF-8 encoded `NSString` messages.
|
||||
*
|
||||
* This codec is guaranteed to be compatible with the corresponding
|
||||
* [StringCodec](https://docs.flutter.io/flutter/services/StringCodec-class.html)
|
||||
* [StringCodec](https://api.flutter.dev/flutter/services/StringCodec-class.html)
|
||||
* on the Dart side. These parts of the Flutter SDK are evolved synchronously.
|
||||
*/
|
||||
FLUTTER_EXPORT
|
||||
@@ -67,7 +67,7 @@ FLUTTER_EXPORT
|
||||
* A `FlutterMessageCodec` using UTF-8 encoded JSON messages.
|
||||
*
|
||||
* This codec is guaranteed to be compatible with the corresponding
|
||||
* [JSONMessageCodec](https://docs.flutter.io/flutter/services/JSONMessageCodec-class.html)
|
||||
* [JSONMessageCodec](https://api.flutter.dev/flutter/services/JSONMessageCodec-class.html)
|
||||
* on the Dart side. These parts of the Flutter SDK are evolved synchronously.
|
||||
*
|
||||
* Supports values accepted by `NSJSONSerialization` plus top-level
|
||||
@@ -184,7 +184,7 @@ FLUTTER_EXPORT
|
||||
* A `FlutterMessageCodec` using the Flutter standard binary encoding.
|
||||
*
|
||||
* This codec is guaranteed to be compatible with the corresponding
|
||||
* [StandardMessageCodec](https://docs.flutter.io/flutter/services/StandardMessageCodec-class.html)
|
||||
* [StandardMessageCodec](https://api.flutter.dev/flutter/services/StandardMessageCodec-class.html)
|
||||
* on the Dart side. These parts of the Flutter SDK are evolved synchronously.
|
||||
*
|
||||
* Supported messages are acyclic values of these forms:
|
||||
@@ -434,7 +434,7 @@ FLUTTER_EXPORT
|
||||
* envelopes.
|
||||
*
|
||||
* This codec is guaranteed to be compatible with the corresponding
|
||||
* [JSONMethodCodec](https://docs.flutter.io/flutter/services/JSONMethodCodec-class.html)
|
||||
* [JSONMethodCodec](https://api.flutter.dev/flutter/services/JSONMethodCodec-class.html)
|
||||
* on the Dart side. These parts of the Flutter SDK are evolved synchronously.
|
||||
*
|
||||
* Values supported as methods arguments and result payloads are
|
||||
@@ -448,7 +448,7 @@ FLUTTER_EXPORT
|
||||
* A `FlutterMethodCodec` using the Flutter standard binary encoding.
|
||||
*
|
||||
* This codec is guaranteed to be compatible with the corresponding
|
||||
* [StandardMethodCodec](https://docs.flutter.io/flutter/services/StandardMethodCodec-class.html)
|
||||
* [StandardMethodCodec](https://api.flutter.dev/flutter/services/StandardMethodCodec-class.html)
|
||||
* on the Dart side. These parts of the Flutter SDK are evolved synchronously.
|
||||
*
|
||||
* Values supported as method arguments and result payloads are those supported by
|
||||
|
||||
@@ -268,8 +268,8 @@ FLUTTER_EXPORT
|
||||
* Can be nil after `destroyContext` is called.
|
||||
*
|
||||
* @see [Navigation
|
||||
* Channel](https://docs.flutter.io/flutter/services/SystemChannels/navigation-constant.html)
|
||||
* @see [Navigator Widget](https://docs.flutter.io/flutter/widgets/Navigator-class.html)
|
||||
* Channel](https://api.flutter.dev/flutter/services/SystemChannels/navigation-constant.html)
|
||||
* @see [Navigator Widget](https://api.flutter.dev/flutter/widgets/Navigator-class.html)
|
||||
*/
|
||||
@property(nonatomic, readonly) FlutterMethodChannel* navigationChannel;
|
||||
|
||||
@@ -288,7 +288,7 @@ FLUTTER_EXPORT
|
||||
* Can be nil after `destroyContext` is called.
|
||||
*
|
||||
* @see [Text Input
|
||||
* Channel](https://docs.flutter.io/flutter/services/SystemChannels/textInput-constant.html)
|
||||
* Channel](https://api.flutter.dev/flutter/services/SystemChannels/textInput-constant.html)
|
||||
*/
|
||||
@property(nonatomic, readonly) FlutterMethodChannel* textInputChannel;
|
||||
|
||||
@@ -299,7 +299,7 @@ FLUTTER_EXPORT
|
||||
* Can be nil after `destroyContext` is called.
|
||||
*
|
||||
* @see [Lifecycle
|
||||
* Channel](https://docs.flutter.io/flutter/services/SystemChannels/lifecycle-constant.html)
|
||||
* Channel](https://api.flutter.dev/flutter/services/SystemChannels/lifecycle-constant.html)
|
||||
*/
|
||||
@property(nonatomic, readonly) FlutterBasicMessageChannel* lifecycleChannel;
|
||||
|
||||
@@ -310,7 +310,7 @@ FLUTTER_EXPORT
|
||||
* Can be nil after `destroyContext` is called.
|
||||
*
|
||||
* @see [System
|
||||
* Channel](https://docs.flutter.io/flutter/services/SystemChannels/system-constant.html)
|
||||
* Channel](https://api.flutter.dev/flutter/services/SystemChannels/system-constant.html)
|
||||
*/
|
||||
@property(nonatomic, readonly) FlutterBasicMessageChannel* systemChannel;
|
||||
|
||||
|
||||
@@ -51,13 +51,13 @@ typedef NS_ENUM(NSUInteger, FlutterTextAffinity) {
|
||||
|
||||
/**
|
||||
* Keyboard type of the client. See available options:
|
||||
* https://docs.flutter.io/flutter/services/TextInputType-class.html
|
||||
* https://api.flutter.dev/flutter/services/TextInputType-class.html
|
||||
*/
|
||||
@property(nonatomic, readonly, nonnull) NSString* inputType;
|
||||
|
||||
/**
|
||||
* An action requested by the user on the input client. See available options:
|
||||
* https://docs.flutter.io/flutter/services/TextInputAction-class.html
|
||||
* https://api.flutter.dev/flutter/services/TextInputAction-class.html
|
||||
*/
|
||||
@property(nonatomic, readonly, nonnull) NSString* inputAction;
|
||||
|
||||
|
||||
@@ -12,7 +12,7 @@
|
||||
|
||||
static NSString* const kTextInputChannel = @"flutter/textinput";
|
||||
|
||||
// See https://docs.flutter.io/flutter/services/SystemChannels/textInput-constant.html
|
||||
// See https://api.flutter.dev/flutter/services/SystemChannels/textInput-constant.html
|
||||
static NSString* const kSetClientMethod = @"TextInput.setClient";
|
||||
static NSString* const kShowMethod = @"TextInput.show";
|
||||
static NSString* const kHideMethod = @"TextInput.hide";
|
||||
|
||||
@@ -59,11 +59,11 @@ class TextInputPlugin : public KeyboardHookHandler {
|
||||
std::unique_ptr<TextInputModel> active_model_;
|
||||
|
||||
// Keyboard type of the client. See available options:
|
||||
// https://docs.flutter.io/flutter/services/TextInputType-class.html
|
||||
// https://api.flutter.dev/flutter/services/TextInputType-class.html
|
||||
std::string input_type_;
|
||||
|
||||
// An action requested by the user on the input client. See available options:
|
||||
// https://docs.flutter.io/flutter/services/TextInputAction-class.html
|
||||
// https://api.flutter.dev/flutter/services/TextInputAction-class.html
|
||||
std::string input_action_;
|
||||
};
|
||||
|
||||
|
||||
@@ -60,11 +60,11 @@ class TextInputPlugin : public KeyboardHookHandler {
|
||||
std::unique_ptr<TextInputModel> active_model_;
|
||||
|
||||
// Keyboard type of the client. See available options:
|
||||
// https://docs.flutter.io/flutter/services/TextInputType-class.html
|
||||
// https://api.flutter.dev/flutter/services/TextInputType-class.html
|
||||
std::string input_type_;
|
||||
|
||||
// An action requested by the user on the input client. See available options:
|
||||
// https://docs.flutter.io/flutter/services/TextInputAction-class.html
|
||||
// https://api.flutter.dev/flutter/services/TextInputAction-class.html
|
||||
std::string input_action_;
|
||||
};
|
||||
|
||||
|
||||
@@ -38,7 +38,7 @@ jazzy \
|
||||
--module-version 1.0.0\
|
||||
--xcodebuild-arguments --objc,"$FLUTTER_UMBRELLA_HEADER",--,-x,objective-c,-isysroot,"$(xcrun --show-sdk-path --sdk iphonesimulator)",-I,"$(pwd)"\
|
||||
--module Flutter\
|
||||
--root-url https://docs.flutter.io/objc/\
|
||||
--root-url https://api.flutter.dev/objc/\
|
||||
--output "$1"
|
||||
|
||||
EXPECTED_CLASSES="FlutterAppDelegate.html
|
||||
|
||||
Reference in New Issue
Block a user