Flutter Engine
The Flutter Engine
shell
platform
android
io
flutter
embedding
engine
plugins
broadcastreceiver
BroadcastReceiverAware.java
Go to the documentation of this file.
1
// Copyright 2013 The Flutter Authors. All rights reserved.
2
// Use of this source code is governed by a BSD-style license that can be
3
// found in the LICENSE file.
4
5
package
io.flutter.embedding.engine.plugins.broadcastreceiver;
6
7
import
androidx.annotation.NonNull;
8
9
/**
10
* A {@link io.flutter.embedding.engine.plugins.FlutterPlugin} that wants to know when it is running
11
* within a {@link android.content.BroadcastReceiver}.
12
*/
13
public
interface
BroadcastReceiverAware
{
14
/**
15
* Callback triggered when a {@code BroadcastReceiverAware} {@link
16
* io.flutter.embedding.engine.plugins.FlutterPlugin} is associated with a {@link
17
* android.content.BroadcastReceiver}.
18
*/
19
void
onAttachedToBroadcastReceiver
(@NonNull
BroadcastReceiverPluginBinding
binding);
20
21
/**
22
* Callback triggered when a {@code BroadcastReceiverAware} {@link
23
* io.flutter.embedding.engine.plugins.FlutterPlugin} is detached from a {@link
24
* android.content.BroadcastReceiver}.
25
*/
26
void
onDetachedFromBroadcastReceiver
();
27
}
io.flutter.embedding.engine.plugins.broadcastreceiver.BroadcastReceiverAware
Definition:
BroadcastReceiverAware.java:13
io.flutter.embedding.engine.plugins.broadcastreceiver.BroadcastReceiverAware.onAttachedToBroadcastReceiver
void onAttachedToBroadcastReceiver(@NonNull BroadcastReceiverPluginBinding binding)
io.flutter.embedding.engine.plugins.broadcastreceiver.BroadcastReceiverAware.onDetachedFromBroadcastReceiver
void onDetachedFromBroadcastReceiver()
io.flutter.embedding.engine.plugins.broadcastreceiver.BroadcastReceiverPluginBinding
Definition:
BroadcastReceiverPluginBinding.java:14
Generated on Sun Jun 23 2024 21:55:09 for Flutter Engine by
1.9.4