Revert "platform: Implement set underlying networks for android"

This reverts commit eb4a184b7e.
This commit is contained in:
世界 2024-12-26 14:39:57 +08:00
parent 0c754505f7
commit d9d0a2373a
No known key found for this signature in database
GPG key ID: CD109927C34A63C4
8 changed files with 0 additions and 43 deletions

View file

@ -18,7 +18,6 @@ type PlatformInterface interface {
StartDefaultInterfaceMonitor(listener InterfaceUpdateListener) error
CloseDefaultInterfaceMonitor(listener InterfaceUpdateListener) error
GetInterfaces() (NetworkInterfaceIterator, error)
SetUnderlyingNetworks(networks RawNetworkIterator) error
UnderNetworkExtension() bool
IncludeAllNetworks() bool
ReadWIFIState() *WIFIState
@ -52,8 +51,6 @@ type NetworkInterface struct {
Type int32
DNSServer StringIterator
Metered bool
RawNetwork RawNetwork
}
type WIFIState struct {
@ -70,11 +67,6 @@ type NetworkInterfaceIterator interface {
HasNext() bool
}
type RawNetworkIterator interface {
Next() RawNetwork
HasNext() bool
}
type Notification struct {
Identifier string
TypeName string