Language

ShortcutInfo.Builder.SetExcludedFromSurfaces(Int32) メソッド

定義

ショートカットを除外するサーフェスを設定します。

[Android.Runtime.Register("setExcludedFromSurfaces", "(I)Landroid/content/pm/ShortcutInfo$Builder;", "GetSetExcludedFromSurfaces_IHandler", ApiSince=33)]
public virtual Android.Content.PM.ShortcutInfo.Builder SetExcludedFromSurfaces(int surfaces);
[<Android.Runtime.Register("setExcludedFromSurfaces", "(I)Landroid/content/pm/ShortcutInfo$Builder;", "GetSetExcludedFromSurfaces_IHandler", ApiSince=33)>]
abstract member SetExcludedFromSurfaces : int -> Android.Content.PM.ShortcutInfo.Builder
override this.SetExcludedFromSurfaces : int -> Android.Content.PM.ShortcutInfo.Builder

パラメーター

surfaces
Int32

返品

属性

注釈

ショートカットを除外するサーフェスを設定します。 この API は、将来の拡張機能用に予約されています。 現在、ショートカットをShortcutInfo.SURFACE_LAUNCHERから除外するようにマークすると、ショートカットは公開されないため、次の操作は no-op: ShortcutManager.pushDynamicShortcut(android.content.pm.ShortcutInfo)、android.content.pm.ShortcutManager.addDynamicShortcuts(List)、android.content.pm.ShortcutManager.setDynamicShortcuts(List) になります。

android.content.pm.ShortcutInfo.Builder.setExcludedFromSurfacesの Android リファレンス。

このページの一部は、によって作成および共有され、に記載されている条件に従って使用される作業に基づく変更です。

適用対象