RobotCore 1.0
WPILib port to raspberry Pi
Loading...
Searching...
No Matches
MatchState.java
1// Copyright (c) FIRST and other WPILib contributors.
2// Open Source Software; you can modify and/or share it under the terms of
3// the WPILib BSD license file in the root directory of this project.
4
5package org.wpilib.driverstation;
6
7import java.util.Optional;
8import java.util.OptionalInt;
9import org.wpilib.driverstation.internal.DriverStationBackend;
10
12public final class MatchState {
13 private MatchState() {}
14
32 public static double getMatchTime() {
34 }
35
43 public static Optional<Alliance> getAlliance() {
45 }
46
54 public static OptionalInt getLocation() {
56 }
57
63 public static int getReplayNumber() {
65 }
66
72 public static int getMatchNumber() {
74 }
75
81 public static MatchType getMatchType() {
83 }
84
90 public static String getEventName() {
92 }
93
101 public static Optional<String> getGameData() {
103 }
104}
static Optional< Alliance > getAlliance()
static Optional< String > getGameData()