mirror of
https://github.com/meshtastic/Meshtastic-Apple.git
synced 2026-04-20 22:13:56 +00:00
23 lines
457 B
Swift
23 lines
457 B
Swift
//
|
|
// MeshActivityAttributes.swift
|
|
// Meshtastic
|
|
//
|
|
// Copyright(c) Garth Vander Houwen 2/24/23.
|
|
//
|
|
|
|
import Foundation
|
|
import ActivityKit
|
|
|
|
struct MeshActivityAttributes: ActivityAttributes {
|
|
public typealias MyActivityStatus = ContentState
|
|
|
|
public struct ContentState: Codable, Hashable {
|
|
var timerRange: ClosedRange<Date>
|
|
}
|
|
|
|
var nodeNum: Int
|
|
var nodeName: String
|
|
var channelUtilization: Double
|
|
var airtime: Double
|
|
var activityName: String
|
|
}
|