Arendi.BleLibrary  4.5.1.999
Core-Library (PCL)
Arendi.BleLibrary.Remote.StateChangedEventArgs Class Reference

Event arguments for the event IPeripheral.StateChanged. More...

Inheritance diagram for Arendi.BleLibrary.Remote.StateChangedEventArgs:

Public Member Functions

 StateChangedEventArgs (IPeripheral peripheral, State previousState, State newState)
 Create event arguments for the event IPeripheral.StateChanged. More...
 

Properties

IPeripheral Peripheral [get]
 Peripheral that changed its state. More...
 
State PreviousState [get]
 State of the peripheral before the state change. More...
 
State NewState [get]
 State of the peripheral after the state change. More...
 

Detailed Description

Event arguments for the event IPeripheral.StateChanged.

Constructor & Destructor Documentation

§ StateChangedEventArgs()

Arendi.BleLibrary.Remote.StateChangedEventArgs.StateChangedEventArgs ( IPeripheral  peripheral,
State  previousState,
State  newState 
)

Create event arguments for the event IPeripheral.StateChanged.

Parameters
peripheralPeripheral that changed its state.
previousStateState of the peripheral before the state change.
newStateState of the peripheral after the state change.

Property Documentation

§ NewState

State Arendi.BleLibrary.Remote.StateChangedEventArgs.NewState
get

State of the peripheral after the state change.

§ Peripheral

IPeripheral Arendi.BleLibrary.Remote.StateChangedEventArgs.Peripheral
get

Peripheral that changed its state.

§ PreviousState

State Arendi.BleLibrary.Remote.StateChangedEventArgs.PreviousState
get

State of the peripheral before the state change.