Status Constructors
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Overloads
Status(Status) | |
Status(Boolean, Boolean, BatteryState, PowerInState, PowerInState) |
PiJuice Status |
Status(Status)
protected Status (Iot.Device.PiJuiceDevice.Models.Status original);
new Iot.Device.PiJuiceDevice.Models.Status : Iot.Device.PiJuiceDevice.Models.Status -> Iot.Device.PiJuiceDevice.Models.Status
Protected Sub New (original As Status)
Parameters
- original
- Status
Applies to
Status(Boolean, Boolean, BatteryState, PowerInState, PowerInState)
PiJuice Status
public Status (bool IsFault, bool IsButton, Iot.Device.PiJuiceDevice.Models.BatteryState Battery, Iot.Device.PiJuiceDevice.Models.PowerInState PowerInput, Iot.Device.PiJuiceDevice.Models.PowerInState PowerInput5VoltInput);
new Iot.Device.PiJuiceDevice.Models.Status : bool * bool * Iot.Device.PiJuiceDevice.Models.BatteryState * Iot.Device.PiJuiceDevice.Models.PowerInState * Iot.Device.PiJuiceDevice.Models.PowerInState -> Iot.Device.PiJuiceDevice.Models.Status
Public Sub New (IsFault As Boolean, IsButton As Boolean, Battery As BatteryState, PowerInput As PowerInState, PowerInput5VoltInput As PowerInState)
Parameters
- IsFault
- Boolean
True if there faults or fault events waiting to be read, otherwise False.
- IsButton
- Boolean
True if there are button events, otherwise False.
- Battery
- BatteryState
Current battery status.
- PowerInput
- PowerInState
Current USB Micro power input status.
- PowerInput5VoltInput
- PowerInState
Current 5V GPIO power input status.
Applies to
Feedback
https://aka.ms/ContentUserFeedback.
Coming soon: Throughout 2024 we will be phasing out GitHub Issues as the feedback mechanism for content and replacing it with a new feedback system. For more information see:Submit and view feedback for