.NET SDK Documentation

    Show / Hide Table of Contents

    Class CubeBatteryEventArgs

    Cube battery level event args

    Inheritance
    Object
    EventArgs
    RobotEventArgs
    CubeBatteryEventArgs
    Inherited Members
    RobotEventArgs.EventType
    EventArgs.Empty
    Namespace: Anki.Vector.Events
    Assembly: Anki.Vector.dll
    Syntax
    public class CubeBatteryEventArgs : RobotEventArgs

    Properties

    | Improve this Doc View Source

    BatteryVolts

    Gets the battery level in volts.

    public float BatteryVolts { get; }
    Property Type
    Single
    | Improve this Doc View Source

    FactoryId

    Gets the factory identifier of the cube.

    public string FactoryId { get; }
    Property Type
    String
    | Improve this Doc View Source

    Level

    Gets the battery level.

    public CubeBatteryLevel Level { get; }
    Property Type
    CubeBatteryLevel
    | Improve this Doc View Source

    TimeSinceLastReadingSec

    Gets the time since last reading in seconds.

    public float TimeSinceLastReadingSec { get; }
    Property Type
    Single

    See Also

    EventArgs
    • Improve this Doc
    • View Source
    Back to top Copyright (c) 2019 by Wayne Venables