AVCaptureDevice.HasMediaType Method
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.
Overloads
HasMediaType(AVMediaTypes) |
Whether the device can provide the |
HasMediaType(String) |
Whether the device can provide the |
HasMediaType(AVMediaTypes)
Whether the device can provide the mediaType
.
public bool HasMediaType (AVFoundation.AVMediaTypes mediaType);
member this.HasMediaType : AVFoundation.AVMediaTypes -> bool
Parameters
- mediaType
- AVMediaTypes
The media type to check.
Returns
Applies to
HasMediaType(String)
Whether the device can provide the mediaType
.
[Foundation.Export("hasMediaType:")]
public virtual bool HasMediaType (string mediaType);
abstract member HasMediaType : string -> bool
override this.HasMediaType : string -> bool
Parameters
- mediaType
- String
The media type to check.
Returns
- Attributes