40 lines
995 B
Java
40 lines
995 B
Java
package com.discord.widgets.media;
|
|
|
|
import com.discord.app.AppViewModel;
|
|
import kotlin.Unit;
|
|
/* compiled from: WidgetMediaViewModel.kt */
|
|
/* loaded from: classes2.dex */
|
|
public final class WidgetMediaViewModel extends AppViewModel<Unit> {
|
|
private long currentPlayerPositionMs;
|
|
private boolean isPlaying = true;
|
|
private boolean showCoverFrame = true;
|
|
|
|
public WidgetMediaViewModel() {
|
|
super(null, 1, null);
|
|
}
|
|
|
|
public final long getCurrentPlayerPositionMs() {
|
|
return this.currentPlayerPositionMs;
|
|
}
|
|
|
|
public final boolean getShowCoverFrame() {
|
|
return this.showCoverFrame;
|
|
}
|
|
|
|
public final boolean isPlaying() {
|
|
return this.isPlaying;
|
|
}
|
|
|
|
public final void setCurrentPlayerPositionMs(long j) {
|
|
this.currentPlayerPositionMs = j;
|
|
}
|
|
|
|
public final void setPlaying(boolean z2) {
|
|
this.isPlaying = z2;
|
|
}
|
|
|
|
public final void setShowCoverFrame(boolean z2) {
|
|
this.showCoverFrame = z2;
|
|
}
|
|
}
|