public class TransferNetworkLossHandler
extends android.content.BroadcastReceiver
Modifier and Type | Method and Description |
---|---|
static TransferNetworkLossHandler |
getInstance()
Return the singleton instance of the handler.
|
static TransferNetworkLossHandler |
getInstance(android.content.Context context)
Return the singleton instance of the receiver.
|
void |
onReceive(android.content.Context context,
android.content.Intent intent) |
abortBroadcast, clearAbortBroadcast, getAbortBroadcast, getDebugUnregister, getResultCode, getResultData, getResultExtras, goAsync, isInitialStickyBroadcast, isOrderedBroadcast, peekService, setDebugUnregister, setOrderedHint, setResult, setResultCode, setResultData, setResultExtras
public static TransferNetworkLossHandler getInstance(android.content.Context context)
context
- the application contextpublic static TransferNetworkLossHandler getInstance() throws TransferUtilityException
TransferUtilityException
- when the singleton instance is null.public void onReceive(android.content.Context context, android.content.Intent intent)
onReceive
in class android.content.BroadcastReceiver
Copyright © 2018 Amazon Web Services, Inc. All Rights Reserved.