INSetAudioSourceInCarIntentHandling_Extensions.ResolveAudioSource 方法
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
開發人員可能會覆寫這個方法,以自訂所要求音訊來源的解析度。
public static void ResolveAudioSource(this Intents.IINSetAudioSourceInCarIntentHandling This, Intents.INSetAudioSourceInCarIntent intent, Action<Intents.INCarAudioSourceResolutionResult> completion);
static member ResolveAudioSource : Intents.IINSetAudioSourceInCarIntentHandling * Intents.INSetAudioSourceInCarIntent * Action<Intents.INCarAudioSourceResolutionResult> -> unit
參數
這個方法運作所在的 實例。
- intent
- INSetAudioSourceInCarIntent
指定使用者的意圖。
- completion
- Action<INCarAudioSourceResolutionResult>
覆寫必須呼叫的完成方法。