@Implements(value=android.net.Network.class) public class ShadowNetwork extends Object
android.net.Network.| Constructor and Description |
|---|
ShadowNetwork() |
| Modifier and Type | Method and Description |
|---|---|
void |
__constructor__(int netId) |
int |
getNetId()
Allows to get the stored netId.
|
static android.net.Network |
newInstance(int netId)
Creates new instance of
Network, because its constructor is hidden. |
public static android.net.Network newInstance(int netId)
Network, because its constructor is hidden.netId - The netId.public void __constructor__(int netId)
public int getNetId()
Copyright © 2016. All rights reserved.