WallpaperDescription.Builder.SetContextDescription メソッド
定義
重要
一部の情報は、リリース前に大きく変更される可能性があるプレリリースされた製品に関するものです。 Microsoft は、ここに記載されている情報について、明示または黙示を問わず、一切保証しません。
オーバーロード
| Name | 説明 |
|---|---|
| SetContextDescription(ICharSequence) |
この壁紙に関連付けられているアクションのリンクテキストを設定します。 |
| SetContextDescription(String) |
壁紙アクションのリンクテキストを文字列から設定します。 |
SetContextDescription(ICharSequence)
この壁紙に関連付けられているアクションのリンクテキストを設定します。
[Android.Runtime.Register("setContextDescription", "(Ljava/lang/CharSequence;)Landroid/app/wallpaper/WallpaperDescription$Builder;", "", ApiSince=36)]
public Android.App.Wallpaper.WallpaperDescription.Builder SetContextDescription(Java.Lang.ICharSequence? contextDescription);
[<Android.Runtime.Register("setContextDescription", "(Ljava/lang/CharSequence;)Landroid/app/wallpaper/WallpaperDescription$Builder;", "", ApiSince=36)>]
member this.SetContextDescription : Java.Lang.ICharSequence -> Android.App.Wallpaper.WallpaperDescription.Builder
パラメーター
- contextDescription
- ICharSequence
リンク テキスト、または既定のテキストの場合は null
戻り値
このビルダーにより、同じ呼び出しチェーンでより多くの値を設定できます。
- 属性
注釈
この壁紙に関連付けられているアクションのリンクテキストを設定します。
android.app.wallpaper.WallpaperDescription.Builder.setContextDescriptionの Android リファレンス。
このページの一部は、によって作成および共有され、に記載されている条件に従って使用される作業に基づく変更です。
適用対象
SetContextDescription(String)
壁紙アクションのリンクテキストを文字列から設定します。
public Android.App.Wallpaper.WallpaperDescription.Builder SetContextDescription(string? contextDescription);
member this.SetContextDescription : string -> Android.App.Wallpaper.WallpaperDescription.Builder
パラメーター
- contextDescription
- String
リンク テキスト、または既定のテキストを使用する null 。
戻り値
このビルダーにより、同じ呼び出しチェーンでより多くの値を設定できます。
注釈
これは、 SetContextDescription(ICharSequence)の文字列オーバーロードです。 null 以外の文字列を String に変換し、そのオーバーロードに渡します。 null 値は変更されずに渡されます。