mirror of
https://github.com/zoriya/react-native-omni.git
synced 2026-08-16 02:44:51 +00:00
Migrate to mpv
This commit is contained in:
@@ -207,6 +207,15 @@ namespace margelo::nitro::omni {
|
||||
static const auto method = _javaPart->javaClassStatic()->getMethod<void(double /* volume */)>("setVolume");
|
||||
method(_javaPart, volume);
|
||||
}
|
||||
bool JHybridOmniPlayerSpec::getMuted() {
|
||||
static const auto method = _javaPart->javaClassStatic()->getMethod<jboolean()>("getMuted");
|
||||
auto __result = method(_javaPart);
|
||||
return static_cast<bool>(__result);
|
||||
}
|
||||
void JHybridOmniPlayerSpec::setMuted(bool muted) {
|
||||
static const auto method = _javaPart->javaClassStatic()->getMethod<void(jboolean /* muted */)>("setMuted");
|
||||
method(_javaPart, muted);
|
||||
}
|
||||
|
||||
// Methods
|
||||
void JHybridOmniPlayerSpec::play() {
|
||||
|
||||
Reference in New Issue
Block a user