SystemSound.PlayAlertSound 方法
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
多載
PlayAlertSound() |
播放音效或警示。 |
PlayAlertSound(Action) |
播放音效或警示,然後呼叫 處理常式。 |
PlayAlertSound()
播放音效或警示。
public void PlayAlertSound ();
member this.PlayAlertSound : unit -> unit
備註
此方法的實際行為取決於裝置 (iPhone、iPod touch) 和震動設定。
適用於
PlayAlertSound(Action)
播放音效或警示,然後呼叫 處理常式。
public void PlayAlertSound (Action onCompletion);
member this.PlayAlertSound : Action -> unit
參數
- onCompletion
- Action