AVCaptureDevice.SetWhiteBalanceModeLockedWithDeviceWhiteBalanceGainsAsync 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.
Locks the device's white balance to the provided device-specific gains.
[ObjCRuntime.Introduced(ObjCRuntime.PlatformName.iOS, 8, 0, ObjCRuntime.PlatformArchitecture.All, null)]
public virtual System.Threading.Tasks.Task<CoreMedia.CMTime> SetWhiteBalanceModeLockedWithDeviceWhiteBalanceGainsAsync (AVFoundation.AVCaptureWhiteBalanceGains whiteBalanceGains);
abstract member SetWhiteBalanceModeLockedWithDeviceWhiteBalanceGainsAsync : AVFoundation.AVCaptureWhiteBalanceGains -> System.Threading.Tasks.Task<CoreMedia.CMTime>
override this.SetWhiteBalanceModeLockedWithDeviceWhiteBalanceGainsAsync : AVFoundation.AVCaptureWhiteBalanceGains -> System.Threading.Tasks.Task<CoreMedia.CMTime>
Parameters
- whiteBalanceGains
- AVCaptureWhiteBalanceGains
Returns
A task that represents the asynchronous SetWhiteBalanceModeLockedWithDeviceWhiteBalanceGains operation. The value of the TResult parameter is of type System.Action<CoreMedia.CMTime>.
- Attributes
Remarks
The SetWhiteBalanceModeLockedWithDeviceWhiteBalanceGainsAsync method is suitable to be used with C# async by returning control to the caller with a Task representing the operation.