IPlatformServices.StartTimer(TimeSpan, Func<Boolean>) 方法
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
供 Xamarin.Forms 平台內部使用。
public void StartTimer(TimeSpan interval, Func<bool> callback);
abstract member StartTimer : TimeSpan * Func<bool> -> unit
參數
- interval
- System.TimeSpan
供 Xamarin.Forms 平台內部使用。
- callback
- System.Func<System.Boolean>
供 Xamarin.Forms 平台內部使用。