Language

TetheringManagerTetherError Enum

Definition

Defines values that correspond to the Android TetheringManager.TETHER_ERROR_* constants.

public enum TetheringManagerTetherError
type TetheringManagerTetherError = 
Inheritance
TetheringManagerTetherError

Fields

Name Value Description
NoError 0

Indicates that the tethering operation reported success.

UnknownIface 1

Indicates that the requested interface is not known to the tethering service.

ServiceUnavail 2

Indicates that a system service needed for tethering is unavailable.

Unsupported 3

Indicates that tethering is unsupported or is not allowed by the system.

UnavailIface 4

Indicates that the requested interface is not available for the tethering operation.

InternalError 5

Indicates an internal failure while processing a tethering operation.

TetherIfaceError 6

Indicates that adding an interface to tethering failed.

UntetherIfaceError 7

Indicates that removing an interface from tethering failed.

EnableForwardingError 8

Indicates that enabling forwarding between tethering interfaces failed.

DisableForwardingError 9

Global IP-forwarding shutdown failures are reported as InternalError by the Android tethering state machine, rather than this code.

IfaceCfgError 10

Indicates that configuring the tethering interface failed.

ProvisioningFailed 11

Indicates that carrier tethering provisioning failed.

DhcpserverError 12

Indicates a failure in the tethering DHCP server.

EntitlementUnknown 13

Indicates that no known tethering entitlement result is available.

NoChangeTetheringPermission 14

Indicates that the caller lacks permission to change tethering settings.

NoAccessTetheringPermission 15

Indicates that the caller lacks permission to access tethering status.

UnknownType 16

Indicates that the requested tethering transport type is not recognized.

UnknownRequest 17

Indicates that a stop request does not match an active tethering request.

DuplicateRequest 18

Indicates that a conflicting tethering request was rejected as a duplicate.

Applies to