Class VideoView
public class VideoView : SurfaceView, IDynamicMetaObjectProvider, IJVMBridgeCore, IEquatable<IJVMBridgeBaseInstance>, IDisposable, IJVMBridgeBaseStatic, IJVMBridgeBase, IJVMBridgeBaseInstance, IJVMBridgeDefinition, IAccessibilityEventSource
- Inheritance
-
VideoView
- Implements
- Inherited Members
- Extension Methods
Constructors
VideoView(Context)
public VideoView(Context arg0)
Parameters
VideoView(Context, AttributeSet)
public VideoView(Context arg0, AttributeSet arg1)
Parameters
arg0Contextarg1AttributeSet
VideoView(Context, AttributeSet, int)
public VideoView(Context arg0, AttributeSet arg1, int arg2)
Parameters
arg0Contextarg1AttributeSetarg2int
VideoView(Context, AttributeSet, int, int)
public VideoView(Context arg0, AttributeSet arg1, int arg2, int arg3)
Parameters
arg0Contextarg1AttributeSetarg2intarg3int
VideoView(IJVMBridgeBaseInitializer)
Initializer used internally by JCOBridge. Do not use directly.
[Obsolete("This public initializer is needed for JCOBridge internal use, other uses can produce unidentible behaviors.")]
public VideoView(IJVMBridgeBaseInitializer initializer)
Parameters
initializerIJVMBridgeBaseInitializer
Properties
BridgeClassName
Java class name to be instantiated
public override string BridgeClassName { get; }
Property Value
IsBridgeAbstract
true if the BridgeClassName is an abstract class, i.e. cannot be created an instance
public override bool IsBridgeAbstract { get; }
Property Value
IsBridgeCloseable
true if the BridgeClassName implements java.lang.AutoCloseable
public override bool IsBridgeCloseable { get; }
Property Value
IsBridgeInterface
true if the BridgeClassName is an interface, i.e. does not have any public constructor
public override bool IsBridgeInterface { get; }
Property Value
IsBridgeStatic
true if the BridgeClassName is a static class, i.e. does not have any public constructor
public override bool IsBridgeStatic { get; }
Property Value
Methods
AddSubtitleSource(InputStream, MediaFormat)
public void AddSubtitleSource(InputStream arg0, MediaFormat arg1)
Parameters
arg0InputStreamarg1MediaFormat
CanPause()
public bool CanPause()
Returns
CanSeekBackward()
public bool CanSeekBackward()
Returns
CanSeekForward()
public bool CanSeekForward()
Returns
CreatePoolableInstance(Context)
HPA initializer for VideoView(Android.Content.Context arg0)
public static VideoView CreatePoolableInstance(Context arg0)
Parameters
arg0Context
Returns
CreatePoolableInstance(Context, AttributeSet)
HPA initializer for VideoView(Android.Content.Context arg0, Android.Util.AttributeSet arg1)
public static VideoView CreatePoolableInstance(Context arg0, AttributeSet arg1)
Parameters
arg0Contextarg1AttributeSet
Returns
CreatePoolableInstance(Context, AttributeSet, int)
HPA initializer for VideoView(Android.Content.Context arg0, Android.Util.AttributeSet arg1, int arg2)
public static VideoView CreatePoolableInstance(Context arg0, AttributeSet arg1, int arg2)
Parameters
arg0Contextarg1AttributeSetarg2int
Returns
CreatePoolableInstance(Context, AttributeSet, int, int)
HPA initializer for VideoView(Android.Content.Context arg0, Android.Util.AttributeSet arg1, int arg2, int arg3)
public static VideoView CreatePoolableInstance(Context arg0, AttributeSet arg1, int arg2, int arg3)
Parameters
arg0Contextarg1AttributeSetarg2intarg3int
Returns
GetAudioSessionId()
public int GetAudioSessionId()
Returns
GetBufferPercentage()
public int GetBufferPercentage()
Returns
GetCurrentPosition()
public int GetCurrentPosition()
Returns
GetDuration()
public int GetDuration()
Returns
IsPlaying()
public bool IsPlaying()
Returns
Pause()
public void Pause()
ResolveAdjustedSize(int, int)
public int ResolveAdjustedSize(int arg0, int arg1)
Parameters
Returns
Resume()
public void Resume()
SeekTo(int)
public void SeekTo(int arg0)
Parameters
SetAudioAttributes(AudioAttributes)
public void SetAudioAttributes(AudioAttributes arg0)
Parameters
SetAudioFocusRequest(int)
public void SetAudioFocusRequest(int arg0)
Parameters
SetMediaController(MediaController)
public void SetMediaController(MediaController arg0)
Parameters
SetOnCompletionListener(OnCompletionListener)
public void SetOnCompletionListener(MediaPlayer.OnCompletionListener arg0)
Parameters
SetOnErrorListener(OnErrorListener)
public void SetOnErrorListener(MediaPlayer.OnErrorListener arg0)
Parameters
SetOnInfoListener(OnInfoListener)
public void SetOnInfoListener(MediaPlayer.OnInfoListener arg0)
Parameters
SetOnPreparedListener(OnPreparedListener)
public void SetOnPreparedListener(MediaPlayer.OnPreparedListener arg0)
Parameters
SetVideoPath(String)
https://developer.android.com/reference/android/widget/VideoView.html#setVideoPath(java.lang.String)
public void SetVideoPath(String arg0)
Parameters
SetVideoURI(Uri)
public void SetVideoURI(Uri arg0)
Parameters
SetVideoURI(Uri, Map<String, String>)
public void SetVideoURI(Uri arg0, Map<String, String> arg1)
Parameters
Start()
public void Start()
StopPlayback()
public void StopPlayback()
Suspend()
public void Suspend()