共用方式為


AVCaptureDevice.SetWhiteBalanceModeLockedWithDeviceWhiteBalanceGainsAsync 方法

定義

鎖定裝置的白平衡,以取得提供的裝置特定收益。

[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>

參數

whiteBalanceGains
AVCaptureWhiteBalanceGains

傳回

代表非同步 SetWhiteBalanceModeLockedWithDeviceWhiteBalanceGains 作業的工作。 TResult 參數的值的類型為 System.Action < CoreMedia.CMTime > 。

屬性

備註

SetWhiteBalanceModeLockedWithDeviceWhiteBalanceGainsAsync 方法適合搭配 C# 非同步使用,方法是將控制項傳回給代表作業之 Task 的呼叫端。

LockForConfiguration(NSError)

適用於