TetheringManager
IStartTetheringCallback
IStopTetheringCallback
ITetheringEventCallback
TetheringRequest
ConnectivityScopeGlobal
TetherErrorDhcpserverError
TetherErrorDisableForwardingError
TetherErrorDuplicateRequest
TetherErrorEnableForwardingError
TetherErrorEntitlementUnknown
TetherErrorIfaceCfgError
TetherErrorInternalError
TetherErrorNoAccessTetheringPermission
TetherErrorNoChangeTetheringPermission
TetherErrorNoError
TetherErrorProvisioningFailed
TetherErrorServiceUnavail
TetherErrorTetherIfaceError
TetherErrorUnavailIface
TetherErrorUnknownIface
TetherErrorUnknownRequest
TetherErrorUnknownType
TetherErrorUnsupported
TetherErrorUntetherIfaceError
TetheringWifi
TetheringManager(nint, JniHandleOwnership)
JniPeerMembers
ThresholdClass
ThresholdType
RegisterTetheringEventCallback(IExecutor, ITetheringEventCallback)
StartTethering(TetheringRequest, IExecutor, IStartTetheringCallback)
StopTethering(TetheringRequest, IExecutor, IStopTetheringCallback)
UnregisterTetheringEventCallback(ITetheringEventCallback)
net10.0-android36.0
namespace Android.Net
{
[Register("android/net/TetheringManager", ApiSince = 36, DoNotGenerateAcw = true)]
[SupportedOSPlatform("android36.0")]
public class TetheringManager : Object
{
[Register("startTethering", "(Landroid/net/TetheringManager$TetheringRequest;Ljava/util/concurrent/Executor;Landroid/net/TetheringManager$StartTetheringCallback;)V", "GetStartTethering_Landroid_net_TetheringManager_TetheringRequest_Ljava_util_concurrent_Executor_Landroid_net_TetheringManager_StartTetheringCallback_Handler", ApiSince = 36)]
[RequiresPermission("android.permission.TETHER_PRIVILEGED")]
[SupportedOSPlatform("android36.0")]
public virtual void StartTethering(TetheringRequest! request, IExecutor! executor, IStartTetheringCallback! callback);
}
}
| .NET | 10.0 |
|---|---|
Information specific to net10.0 | |
| Platforms | This API is only available when you target a specific platform: |
| Android | 21.022.023.024.025.026.027.028.029.030.031.032.033.034.035.036.0 |
Information specific to net10.0-android36.0 | |
| Assembly | Mono.Android , Version=0.0.0.0, PublicKeyToken=84e04ff9cfb79065 |
| Referencing | The API is automatically referenced. |
| Preview | The API is contained in a preview framework. |
| Platform Restrictions | This API is only supported on the following platforms:
|
- Built-in API
- Package-provided API