RtcDateSource Class Reference
Classes | |
| enum | DateSourceType |
Public Member Functions | |
| RtcDateSource (DateSourceType dateSourceType, int priority, String uri, boolean dateTimeLocal) | |
| OtaUpdaterChannel constructor. More... | |
| DateSourceType | getDateSourceType () |
| int | getPriority () |
| String | getUri () |
| boolean | isDateTimeLocal () |
Constructor & Destructor Documentation
| RtcDateSource | ( | DateSourceType | dateSourceType, |
| int | priority, | ||
| String | uri, | ||
| boolean | dateTimeLocal | ||
| ) |
- Parameters
-
name channel identifier type type baseurl Base URL
Member Function Documentation
| DateSourceType getDateSourceType | ( | ) |
Get Date Source Type
- Returns
- Date Source Type
| int getPriority | ( | ) |
Get priority of the source (range: 1 - 100)
- Returns
- priority of the source
| String getUri | ( | ) |
Get URL of IP address where date source is located
- Returns
- URL of IP address where date source is located
| boolean isDateTimeLocal | ( | ) |
Get if source date time is provided in local time or UTC time
- Returns
- true if the source gives the date time info in local time, false if UTC time
