Documentation
¶
Index ¶
- Constants
- type ISharedConnectivityCallback
- type ISharedConnectivityCallbackServer
- type ISharedConnectivityService
- type ISharedConnectivityServiceServer
- type SharedConnectivityCallbackProxy
- func (p *SharedConnectivityCallbackProxy) AsBinder() binder.IBinder
- func (p *SharedConnectivityCallbackProxy) OnHotspotNetworkConnectionStatusChanged(ctx context.Context, status app.HotspotNetworkConnectionStatus) error
- func (p *SharedConnectivityCallbackProxy) OnHotspotNetworksUpdated(ctx context.Context, networks []app.HotspotNetwork) error
- func (p *SharedConnectivityCallbackProxy) OnKnownNetworkConnectionStatusChanged(ctx context.Context, status app.KnownNetworkConnectionStatus) error
- func (p *SharedConnectivityCallbackProxy) OnKnownNetworksUpdated(ctx context.Context, networks []app.KnownNetwork) error
- func (p *SharedConnectivityCallbackProxy) OnServiceConnected(ctx context.Context) error
- func (p *SharedConnectivityCallbackProxy) OnSharedConnectivitySettingsChanged(ctx context.Context, state app.SharedConnectivitySettingsState) error
- type SharedConnectivityCallbackStub
- type SharedConnectivityServiceProxy
- func (p *SharedConnectivityServiceProxy) AsBinder() binder.IBinder
- func (p *SharedConnectivityServiceProxy) ConnectHotspotNetwork(ctx context.Context, network app.HotspotNetwork) error
- func (p *SharedConnectivityServiceProxy) ConnectKnownNetwork(ctx context.Context, network app.KnownNetwork) error
- func (p *SharedConnectivityServiceProxy) DisconnectHotspotNetwork(ctx context.Context, network app.HotspotNetwork) error
- func (p *SharedConnectivityServiceProxy) ForgetKnownNetwork(ctx context.Context, network app.KnownNetwork) error
- func (p *SharedConnectivityServiceProxy) GetHotspotNetworkConnectionStatus(ctx context.Context) (app.HotspotNetworkConnectionStatus, error)
- func (p *SharedConnectivityServiceProxy) GetHotspotNetworks(ctx context.Context) ([]app.HotspotNetwork, error)
- func (p *SharedConnectivityServiceProxy) GetKnownNetworkConnectionStatus(ctx context.Context) (app.KnownNetworkConnectionStatus, error)
- func (p *SharedConnectivityServiceProxy) GetKnownNetworks(ctx context.Context) ([]app.KnownNetwork, error)
- func (p *SharedConnectivityServiceProxy) GetSettingsState(ctx context.Context) (app.SharedConnectivitySettingsState, error)
- func (p *SharedConnectivityServiceProxy) RegisterCallback(ctx context.Context, callback ISharedConnectivityCallback) error
- func (p *SharedConnectivityServiceProxy) UnregisterCallback(ctx context.Context, callback ISharedConnectivityCallback) error
- type SharedConnectivityServiceStub
Constants ¶
const ( )
const ( )
const ( )
const ( )
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ISharedConnectivityCallback ¶
type ISharedConnectivityCallback interface {
}
func NewSharedConnectivityCallbackStub ¶
func NewSharedConnectivityCallbackStub( impl ISharedConnectivityCallbackServer, ) ISharedConnectivityCallback
NewSharedConnectivityCallbackStub creates a server-side ISharedConnectivityCallback wrapping the given server implementation. The returned value satisfies ISharedConnectivityCallback and can be passed to proxy methods; its AsBinder() returns a *binder.StubBinder that is auto-registered with the binder driver on first use.
type ISharedConnectivityCallbackServer ¶
type ISharedConnectivityCallbackServer interface {
}
ISharedConnectivityCallbackServer is the server-side interface that user implementations provide to NewSharedConnectivityCallbackStub. It contains only the business methods, without AsBinder (which is provided by the stub itself).
type ISharedConnectivityService ¶
type ISharedConnectivityService interface {
}
func NewSharedConnectivityServiceStub ¶
func NewSharedConnectivityServiceStub( impl ISharedConnectivityServiceServer, ) ISharedConnectivityService
NewSharedConnectivityServiceStub creates a server-side ISharedConnectivityService wrapping the given server implementation. The returned value satisfies ISharedConnectivityService and can be passed to proxy methods; its AsBinder() returns a *binder.StubBinder that is auto-registered with the binder driver on first use.
type ISharedConnectivityServiceServer ¶
type ISharedConnectivityServiceServer interface {
}
ISharedConnectivityServiceServer is the server-side interface that user implementations provide to NewSharedConnectivityServiceStub. It contains only the business methods, without AsBinder (which is provided by the stub itself).
type SharedConnectivityCallbackProxy ¶
type SharedConnectivityCallbackProxy struct {
}
func NewSharedConnectivityCallbackProxy ¶
func NewSharedConnectivityCallbackProxy( remote binder.IBinder, ) *SharedConnectivityCallbackProxy
func (*SharedConnectivityCallbackProxy) AsBinder ¶
func (p *SharedConnectivityCallbackProxy) AsBinder() binder.IBinder
func (*SharedConnectivityCallbackProxy) OnHotspotNetworkConnectionStatusChanged ¶
func (p *SharedConnectivityCallbackProxy) OnHotspotNetworkConnectionStatusChanged( ctx context.Context, status app.HotspotNetworkConnectionStatus, ) error
func (*SharedConnectivityCallbackProxy) OnHotspotNetworksUpdated ¶
func (p *SharedConnectivityCallbackProxy) OnHotspotNetworksUpdated( ctx context.Context, networks []app.HotspotNetwork, ) error
func (*SharedConnectivityCallbackProxy) OnKnownNetworkConnectionStatusChanged ¶
func (p *SharedConnectivityCallbackProxy) OnKnownNetworkConnectionStatusChanged( ctx context.Context, status app.KnownNetworkConnectionStatus, ) error
func (*SharedConnectivityCallbackProxy) OnKnownNetworksUpdated ¶
func (p *SharedConnectivityCallbackProxy) OnKnownNetworksUpdated( ctx context.Context, networks []app.KnownNetwork, ) error
func (*SharedConnectivityCallbackProxy) OnServiceConnected ¶
func (p *SharedConnectivityCallbackProxy) OnServiceConnected( ctx context.Context, ) error
func (*SharedConnectivityCallbackProxy) OnSharedConnectivitySettingsChanged ¶
func (p *SharedConnectivityCallbackProxy) OnSharedConnectivitySettingsChanged( ctx context.Context, state app.SharedConnectivitySettingsState, ) error
type SharedConnectivityCallbackStub ¶
type SharedConnectivityCallbackStub struct {
}
SharedConnectivityCallbackStub dispatches incoming binder transactions to a typed ISharedConnectivityCallback implementation.
func (*SharedConnectivityCallbackStub) Descriptor ¶
func (s *SharedConnectivityCallbackStub) Descriptor() string
func (*SharedConnectivityCallbackStub) OnTransaction ¶
func (s *SharedConnectivityCallbackStub) OnTransaction( ctx context.Context, code binder.TransactionCode, _data *parcel.Parcel, ) (*parcel.Parcel, error)
type SharedConnectivityServiceProxy ¶
type SharedConnectivityServiceProxy struct {
}
func NewSharedConnectivityServiceProxy ¶
func NewSharedConnectivityServiceProxy( remote binder.IBinder, ) *SharedConnectivityServiceProxy
func (*SharedConnectivityServiceProxy) AsBinder ¶
func (p *SharedConnectivityServiceProxy) AsBinder() binder.IBinder
func (*SharedConnectivityServiceProxy) ConnectHotspotNetwork ¶
func (p *SharedConnectivityServiceProxy) ConnectHotspotNetwork( ctx context.Context, network app.HotspotNetwork, ) error
func (*SharedConnectivityServiceProxy) ConnectKnownNetwork ¶
func (p *SharedConnectivityServiceProxy) ConnectKnownNetwork( ctx context.Context, network app.KnownNetwork, ) error
func (*SharedConnectivityServiceProxy) DisconnectHotspotNetwork ¶
func (p *SharedConnectivityServiceProxy) DisconnectHotspotNetwork( ctx context.Context, network app.HotspotNetwork, ) error
func (*SharedConnectivityServiceProxy) ForgetKnownNetwork ¶
func (p *SharedConnectivityServiceProxy) ForgetKnownNetwork( ctx context.Context, network app.KnownNetwork, ) error
func (*SharedConnectivityServiceProxy) GetHotspotNetworkConnectionStatus ¶
func (p *SharedConnectivityServiceProxy) GetHotspotNetworkConnectionStatus( ctx context.Context, ) (app.HotspotNetworkConnectionStatus, error)
func (*SharedConnectivityServiceProxy) GetHotspotNetworks ¶
func (p *SharedConnectivityServiceProxy) GetHotspotNetworks( ctx context.Context, ) ([]app.HotspotNetwork, error)
func (*SharedConnectivityServiceProxy) GetKnownNetworkConnectionStatus ¶
func (p *SharedConnectivityServiceProxy) GetKnownNetworkConnectionStatus( ctx context.Context, ) (app.KnownNetworkConnectionStatus, error)
func (*SharedConnectivityServiceProxy) GetKnownNetworks ¶
func (p *SharedConnectivityServiceProxy) GetKnownNetworks( ctx context.Context, ) ([]app.KnownNetwork, error)
func (*SharedConnectivityServiceProxy) GetSettingsState ¶
func (p *SharedConnectivityServiceProxy) GetSettingsState( ctx context.Context, ) (app.SharedConnectivitySettingsState, error)
func (*SharedConnectivityServiceProxy) RegisterCallback ¶
func (p *SharedConnectivityServiceProxy) RegisterCallback( ctx context.Context, callback ISharedConnectivityCallback, ) error
func (*SharedConnectivityServiceProxy) UnregisterCallback ¶
func (p *SharedConnectivityServiceProxy) UnregisterCallback( ctx context.Context, callback ISharedConnectivityCallback, ) error
type SharedConnectivityServiceStub ¶
type SharedConnectivityServiceStub struct {
}
SharedConnectivityServiceStub dispatches incoming binder transactions to a typed ISharedConnectivityService implementation.
func (*SharedConnectivityServiceStub) Descriptor ¶
func (s *SharedConnectivityServiceStub) Descriptor() string
func (*SharedConnectivityServiceStub) OnTransaction ¶
func (s *SharedConnectivityServiceStub) OnTransaction( ctx context.Context, code binder.TransactionCode, _data *parcel.Parcel, ) (*parcel.Parcel, error)