mirror of
https://github.com/advplyr/audiobookshelf-app.git
synced 2025-08-31 15:19:34 +02:00
Refactor storage model to work with native Realm
This commit is contained in:
parent
b0905d0270
commit
d83e04c47b
33 changed files with 1580 additions and 1305 deletions
14
ios/App/Shared/models/PlaybackMetadata.swift
Normal file
14
ios/App/Shared/models/PlaybackMetadata.swift
Normal file
|
@ -0,0 +1,14 @@
|
|||
//
|
||||
// PlaybackMetadata.swift
|
||||
// App
|
||||
//
|
||||
// Created by Ron Heft on 8/16/22.
|
||||
//
|
||||
|
||||
import Foundation
|
||||
|
||||
class PlaybackMetadata: Codable {
|
||||
var duration: Double = 0
|
||||
var currentTime: Double = 0
|
||||
var playerState: PlayerState = PlayerState.IDLE
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue