MediaItemInfo Class
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Represents information about a piece of media (for example, an audio or video file).
[Android.Runtime.Register("android/media/metrics/MediaItemInfo", ApiSince=35, DoNotGenerateAcw=true)]
public sealed class MediaItemInfo : Java.Lang.Object, Android.OS.IParcelable, IDisposable, Java.Interop.IJavaPeerable
[<Android.Runtime.Register("android/media/metrics/MediaItemInfo", ApiSince=35, DoNotGenerateAcw=true)>]
type MediaItemInfo = class
inherit Object
interface IParcelable
interface IJavaObject
interface IDisposable
interface IJavaPeerable
- Inheritance
- Attributes
- Implements
Remarks
Represents information about a piece of media (for example, an audio or video file).
Java documentation for android.media.metrics.MediaItemInfo
.
Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License.
Fields
DataTypeAudio |
The media item includes audio data. |
DataTypeDepth |
The media item includes depth (z-distance) information. |
DataTypeGainMap |
The media item includes gain map information (for example, an Ultra HDR gain map). |
DataTypeGapless |
The media item includes gapless audio metadata. |
DataTypeHighDynamicRangeVideo |
The media item includes high dynamic range (HDR) video. |
DataTypeHighFrameRate |
The media item includes high frame rate video data. |
DataTypeImage |
The media item includes image data. |
DataTypeMetadata |
The media item includes static media container metadata (for example, capture frame rate or location information). |
DataTypeSpatialAudio |
The media item includes spatial audio data. |
DataTypeSpeedSettingCuePoints |
The media item includes time-dependent speed information (for example, slow motion cue points). |
DataTypeVideo |
The media item includes video data. |
SourceTypeCamera |
Obsolete.
The media item came directly from camera capture. |
SourceTypeEditingSession |
Obsolete.
The media item was output by a previous editing session. |
SourceTypeGallery |
Obsolete.
The media item came from the device gallery. |
SourceTypeGenerated |
Obsolete.
The media item was generated by another system. |
SourceTypeLocalFile |
Obsolete.
The media item is stored on the local device's file system. |
SourceTypeRemoteFile |
Obsolete.
The media item is a remote file (for example, it's loaded from an HTTP server). |
SourceTypeRemoteLiveStream |
Obsolete.
The media item is a remotely-served live stream. |
SourceTypeUnspecified |
Obsolete.
The media item's source is not known. |
ValueUnspecified |
Special value for numerical fields where the value was not specified. |
Properties
AudioChannelCount |
Returns the number of audio channels, or |
AudioSampleCount |
Returns the number of audio frames in the item, after clipping (if applicable), or |
AudioSampleRateHz |
Returns the sample rate of audio, in Hertz, or |
Class |
Returns the runtime class of this |
ClipDurationMillis |
Returns the duration of the clip taken from the media item, in milliseconds, or |
CodecNames |
Returns the MediaCodec#getName() media codec names for codecs that were used as part of encoding/decoding this media item, or an empty list if not known or not applicable. |
ContainerMimeType |
Returns the MIME type of the media container, or |
Creator | |
DataTypes |
Returns the data types that are present in the media item. |
DurationMillis |
Returns the duration of the media item, in milliseconds, or |
Handle |
The handle to the underlying Android instance. (Inherited from Object) |
JniIdentityHashCode | (Inherited from Object) |
JniPeerMembers | |
PeerReference | (Inherited from Object) |
SampleMimeTypes |
Returns the MIME types of samples stored in the media container, or an empty list if not known. |
SourceType |
Returns where the media item came from, or |
ThresholdClass |
This API supports the Mono for Android infrastructure and is not intended to be used directly from your code. (Inherited from Object) |
ThresholdType |
This API supports the Mono for Android infrastructure and is not intended to be used directly from your code. (Inherited from Object) |
VideoDataSpace |
Returns the DataSpace data space for video, as a packed integer. |
VideoFrameRate |
Returns the average video frame rate, in frames per second, or |
VideoSampleCount |
Returns the number of video frames, aftrer clipping (if applicable), or |
VideoSize |
Returns the video size, in pixels, or a |
Methods
Clone() |
Creates and returns a copy of this object. (Inherited from Object) |
DescribeContents() | |
Dispose() | (Inherited from Object) |
Dispose(Boolean) | (Inherited from Object) |
Equals(Object) |
Indicates whether some other object is "equal to" this one. (Inherited from Object) |
GetHashCode() |
Returns a hash code value for the object. (Inherited from Object) |
JavaFinalize() |
Called by the garbage collector on an object when garbage collection determines that there are no more references to the object. (Inherited from Object) |
Notify() |
Wakes up a single thread that is waiting on this object's monitor. (Inherited from Object) |
NotifyAll() |
Wakes up all threads that are waiting on this object's monitor. (Inherited from Object) |
SetHandle(IntPtr, JniHandleOwnership) |
Sets the Handle property. (Inherited from Object) |
ToArray<T>() | (Inherited from Object) |
ToString() |
Returns a string representation of the object. (Inherited from Object) |
UnregisterFromRuntime() | (Inherited from Object) |
Wait() |
Causes the current thread to wait until it is awakened, typically by being <em>notified</em> or <em>interrupted</em>. (Inherited from Object) |
Wait(Int64, Int32) |
Causes the current thread to wait until it is awakened, typically by being <em>notified</em> or <em>interrupted</em>, or until a certain amount of real time has elapsed. (Inherited from Object) |
Wait(Int64) |
Causes the current thread to wait until it is awakened, typically by being <em>notified</em> or <em>interrupted</em>, or until a certain amount of real time has elapsed. (Inherited from Object) |
WriteToParcel(Parcel, ParcelableWriteFlags) |
Explicit Interface Implementations
IJavaPeerable.Disposed() | (Inherited from Object) |
IJavaPeerable.DisposeUnlessReferenced() | (Inherited from Object) |
IJavaPeerable.Finalized() | (Inherited from Object) |
IJavaPeerable.JniManagedPeerState | (Inherited from Object) |
IJavaPeerable.SetJniIdentityHashCode(Int32) | (Inherited from Object) |
IJavaPeerable.SetJniManagedPeerState(JniManagedPeerStates) | (Inherited from Object) |
IJavaPeerable.SetPeerReference(JniObjectReference) | (Inherited from Object) |
Extension Methods
JavaCast<TResult>(IJavaObject) |
Performs an Android runtime-checked type conversion. |
JavaCast<TResult>(IJavaObject) | |
GetJniTypeName(IJavaPeerable) |
Gets the JNI name of the type of the instance |
JavaAs<TResult>(IJavaPeerable) |
Try to coerce |
TryJavaCast<TResult>(IJavaPeerable, TResult) |
Try to coerce |