次の方法で共有


ShortcutInfo.GetIntents メソッド

定義

を使用して意図セットを Builder#setIntents(Intent[])返します。

[Android.Runtime.Register("getIntents", "()[Landroid/content/Intent;", "", ApiSince=25)]
public Android.Content.Intent[]? GetIntents ();
[<Android.Runtime.Register("getIntents", "()[Landroid/content/Intent;", "", ApiSince=25)>]
member this.GetIntents : unit -> Android.Content.Intent[]

戻り値

Intent[]
属性

注釈

を使用して意図セットを Builder#setIntents(Intent[])返します。

ランチャー アプリ <b>は意図を表示できません</b> 。 a ShortcutInfo が経由で LauncherApps取得された場合、このメソッドは常に null を返します。 ランチャーは、ショートカット インテント LauncherApps#startShortcutを開始する場合にのみ使用できます。

の Java ドキュメントandroid.content.pm.ShortcutInfo.getIntents()

このページの一部は、Android オープンソース プロジェクトによって作成および共有され、クリエイティブ コモンズ 2.5 属性ライセンスに記載されている条件に従って使用される作業に基づく変更です。

適用対象