Condividi tramite


MediaFormat.Features Property

Definition

Returns a java.util.Set Set view of the features contained in this MediaFormat.

public System.Collections.Generic.ICollection<string> Features { [Android.Runtime.Register("getFeatures", "()Ljava/util/Set;", "", ApiSince=29)] get; }
[<get: Android.Runtime.Register("getFeatures", "()Ljava/util/Set;", "", ApiSince=29)>]
member this.Features : System.Collections.Generic.ICollection<string>

Property Value

Attributes

Remarks

Returns a java.util.Set Set view of the features contained in this MediaFormat.

The set is backed by the MediaFormat object, so changes to the format are reflected in the set, and vice-versa. If the format is modified while an iteration over the set is in progress (except through the iterator's own remove operation), the results of the iteration are undefined. The set supports element removal, which removes the corresponding mapping from the format, via the Iterator.remove, Set.remove, removeAll, retainAll, and clear operations. It does not support the add or addAll operations.

Java documentation for android.media.MediaFormat.getFeatures().

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.

Applies to