Documentation
¶
Index ¶
- type BatteryManagerServer
- func (s *BatteryManagerServer) ComputeChargeTimeRemaining(_ context.Context, req *pb.ComputeChargeTimeRemainingRequest) (*pb.ComputeChargeTimeRemainingResponse, error)
- func (s *BatteryManagerServer) GetIntProperty(_ context.Context, req *pb.GetIntPropertyRequest) (*pb.GetIntPropertyResponse, error)
- func (s *BatteryManagerServer) GetLongProperty(_ context.Context, req *pb.GetLongPropertyRequest) (*pb.GetLongPropertyResponse, error)
- func (s *BatteryManagerServer) GetStringProperty(_ context.Context, req *pb.GetStringPropertyRequest) (*pb.GetStringPropertyResponse, error)
- func (s *BatteryManagerServer) IsCharging(_ context.Context, req *pb.IsChargingRequest) (*pb.IsChargingResponse, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type BatteryManagerServer ¶
type BatteryManagerServer struct {
pb.UnimplementedBatteryManagerServiceServer
Ctx *app.Context
}
BatteryManagerServer implements pb.BatteryManagerServiceServer.
func (*BatteryManagerServer) ComputeChargeTimeRemaining ¶
func (s *BatteryManagerServer) ComputeChargeTimeRemaining(_ context.Context, req *pb.ComputeChargeTimeRemainingRequest) (*pb.ComputeChargeTimeRemainingResponse, error)
func (*BatteryManagerServer) GetIntProperty ¶
func (s *BatteryManagerServer) GetIntProperty(_ context.Context, req *pb.GetIntPropertyRequest) (*pb.GetIntPropertyResponse, error)
func (*BatteryManagerServer) GetLongProperty ¶
func (s *BatteryManagerServer) GetLongProperty(_ context.Context, req *pb.GetLongPropertyRequest) (*pb.GetLongPropertyResponse, error)
func (*BatteryManagerServer) GetStringProperty ¶
func (s *BatteryManagerServer) GetStringProperty(_ context.Context, req *pb.GetStringPropertyRequest) (*pb.GetStringPropertyResponse, error)
func (*BatteryManagerServer) IsCharging ¶
func (s *BatteryManagerServer) IsCharging(_ context.Context, req *pb.IsChargingRequest) (*pb.IsChargingResponse, error)
Click to show internal directories.
Click to hide internal directories.