mirror of
https://github.com/zoriya/react-native-video.git
synced 2026-05-17 21:09:20 +00:00
24 lines
841 B
C++
Generated
24 lines
841 B
C++
Generated
///
|
|
/// HybridVideoPlayerSourceSpec.cpp
|
|
/// This file was generated by nitrogen. DO NOT MODIFY THIS FILE.
|
|
/// https://github.com/mrousavy/nitro
|
|
/// Copyright © 2025 Marc Rousavy @ Margelo
|
|
///
|
|
|
|
#include "HybridVideoPlayerSourceSpec.hpp"
|
|
|
|
namespace margelo::nitro::video {
|
|
|
|
void HybridVideoPlayerSourceSpec::loadHybridMethods() {
|
|
// load base methods/properties
|
|
HybridObject::loadHybridMethods();
|
|
// load custom methods/properties
|
|
registerHybrids(this, [](Prototype& prototype) {
|
|
prototype.registerHybridGetter("uri", &HybridVideoPlayerSourceSpec::getUri);
|
|
prototype.registerHybridGetter("config", &HybridVideoPlayerSourceSpec::getConfig);
|
|
prototype.registerHybridMethod("getAssetInformationAsync", &HybridVideoPlayerSourceSpec::getAssetInformationAsync);
|
|
});
|
|
}
|
|
|
|
} // namespace margelo::nitro::video
|