# NetworkManager

open class NetworkManager : BroadcastReceiver

## Constructors

NetworkManager
Link copied to clipboard
constructor(context: Context)

## Types

OnChangedStatusListener
Link copied to clipboard
interface OnChangedStatusListener

## Properties

TYPE_ANY
Link copied to clipboard
val TYPE_ANY: Int = 2
TYPE_MOBILE
Link copied to clipboard
val TYPE_MOBILE: Int = 0
TYPE_NOT
Link copied to clipboard
val TYPE_NOT: Int = -1
TYPE_WIFI
Link copied to clipboard
val TYPE_WIFI: Int = 1

## Functions

abortBroadcast
Link copied to clipboard
fun abortBroadcast()
clearAbortBroadcast
Link copied to clipboard
fun clearAbortBroadcast()
getAbortBroadcast
Link copied to clipboard
fun getAbortBroadcast(): Boolean
getDebugUnregister
Link copied to clipboard
fun getDebugUnregister(): Boolean
getResultCode
Link copied to clipboard
fun getResultCode(): Int
getResultData
Link copied to clipboard
fun getResultData(): String
getResultExtras
Link copied to clipboard
fun getResultExtras(makeMap: Boolean): Bundle
getType
Link copied to clipboard
open fun getType(): Int
open fun getType(context: Context): Int
getTypeName
Link copied to clipboard
open fun getTypeName(): String
open fun getTypeName(context: Context): String
goAsync
Link copied to clipboard
fun goAsync(): BroadcastReceiver.PendingResult
isActiveConnectedOrConnecting
Link copied to clipboard
open fun isActiveConnectedOrConnecting(): Boolean
open fun isActiveConnectedOrConnecting(context: Context): Boolean
isAvailable
Link copied to clipboard
open fun isAvailable(): Boolean
open fun isAvailable(context: Context): Boolean
isConnected
Link copied to clipboard
open fun isConnected(): Boolean
open fun isConnected(context: Context): Boolean
isInitialStickyBroadcast
Link copied to clipboard
fun isInitialStickyBroadcast(): Boolean
isOrderedBroadcast
Link copied to clipboard
fun isOrderedBroadcast(): Boolean
onReceive
Link copied to clipboard
open fun onReceive(context: Context, intent: Intent)
peekService
Link copied to clipboard
open fun peekService(myContext: Context, service: Intent): IBinder
setDebugUnregister
Link copied to clipboard
fun setDebugUnregister(debug: Boolean)
setOnChangedNetworkStatusListener
Link copied to clipboard
open fun setOnChangedNetworkStatusListener(listener: NetworkManager.OnChangedStatusListener)
setOrderedHint
Link copied to clipboard
fun setOrderedHint(isOrdered: Boolean)
setResult
Link copied to clipboard
fun setResult(code: Int, data: String, extras: Bundle)
setResultCode
Link copied to clipboard
fun setResultCode(code: Int)
setResultData
Link copied to clipboard
fun setResultData(data: String)
setResultExtras
Link copied to clipboard
fun setResultExtras(extras: Bundle)