Skip to main content

IMoviePlayerMethods

Trait IMoviePlayerMethods 

Source
pub trait IMoviePlayerMethods: IMoviePlayer {
Show 23 methods // Provided methods fn ctor( self, movie_file_name: impl Into<Il2CppString>, is_movie_file_name_direct: impl Into<bool>, ) { ... } fn error_callback( self, player: impl Into<VideoPlayer>, mess: impl Into<Il2CppString>, ) { ... } fn loop_point_reached(self, player: impl Into<VideoPlayer>) { ... } fn frame_ready( self, player: impl Into<VideoPlayer>, frame_idx: impl Into<i64>, ) { ... } fn setup_after_load_scene(self) -> bool { ... } fn setup_by_movie_canvas_prefab( self, canvas_prefab: impl Into<GameObject>, ) -> bool { ... } fn set_movie_file_path_to_video_player(self) -> bool { ... } fn enable_sound_event(self) { ... } fn disable_sound_event(self) { ... } fn is_true_play_end(self) -> bool { ... } fn get_screen_object_name(self) -> Il2CppString { ... } fn is_paused(self) -> bool { ... } fn is_playing(self) -> bool { ... } fn is_play_end(self) -> bool { ... } fn get_movie_length(self) -> f32 { ... } fn get_playing_position(self) -> f32 { ... } fn tick(self) { ... } fn prepare(self) { ... } fn is_prepared(self) -> bool { ... } fn play(self) { ... } fn stop(self) { ... } fn suspend_on(self) { ... } fn suspend_off(self) { ... }
}

Provided Methods§

Source

fn ctor( self, movie_file_name: impl Into<Il2CppString>, is_movie_file_name_direct: impl Into<bool>, )

.ctor(::unity::Il2CppString, bool) overload

Source

fn error_callback( self, player: impl Into<VideoPlayer>, mess: impl Into<Il2CppString>, )

ErrorCallback(crate::unity_engine::video::videoplayer::VideoPlayer, ::unity::Il2CppString) overload

Source

fn loop_point_reached(self, player: impl Into<VideoPlayer>)

LoopPointReached(crate::unity_engine::video::videoplayer::VideoPlayer) overload

Source

fn frame_ready(self, player: impl Into<VideoPlayer>, frame_idx: impl Into<i64>)

FrameReady(crate::unity_engine::video::videoplayer::VideoPlayer, i64) overload

Source

fn setup_after_load_scene(self) -> bool

SetupAfterLoadScene() overload

Source

fn setup_by_movie_canvas_prefab( self, canvas_prefab: impl Into<GameObject>, ) -> bool

SetupByMovieCanvasPrefab(crate::unity_engine::gameobject::GameObject) overload

Source

fn set_movie_file_path_to_video_player(self) -> bool

SetMovieFilePathToVideoPlayer() overload

Source

fn enable_sound_event(self)

EnableSoundEvent() overload

Source

fn disable_sound_event(self)

DisableSoundEvent() overload

Source

fn is_true_play_end(self) -> bool

IsTruePlayEnd() overload

Source

fn get_screen_object_name(self) -> Il2CppString

GetScreenObjectName() overload

Source

fn is_paused(self) -> bool

IsPaused() overload

Source

fn is_playing(self) -> bool

IsPlaying() overload

Source

fn is_play_end(self) -> bool

IsPlayEnd() overload

Source

fn get_movie_length(self) -> f32

GetMovieLength() overload

Source

fn get_playing_position(self) -> f32

GetPlayingPosition() overload

Source

fn tick(self)

Tick() overload

Source

fn prepare(self)

Prepare() overload

Source

fn is_prepared(self) -> bool

IsPrepared() overload

Source

fn play(self)

Play() overload

Source

fn stop(self)

Stop() overload

Source

fn suspend_on(self)

SuspendOn() overload

Source

fn suspend_off(self)

SuspendOff() overload

Dyn Compatibility§

This trait is not dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.

Implementors§

Source§

impl<__T: IMoviePlayer> IMoviePlayerMethods for __T

Available on crate feature app-movieplayer only.