Language

Notification.WearableExtender.SetCustomContentHeight(Int32) メソッド

定義

この通知のコンテンツを表示するためのカスタムの高さをピクセル単位で設定します。

[Android.Runtime.Register("setCustomContentHeight", "(I)Landroid/app/Notification$WearableExtender;", "")]
public Android.App.Notification.WearableExtender? SetCustomContentHeight(int height);
[<Android.Runtime.Register("setCustomContentHeight", "(I)Landroid/app/Notification$WearableExtender;", "")>]
member this.SetCustomContentHeight : int -> Android.App.Notification.WearableExtender

パラメーター

height
Int32

int

返品

この Android.App.Notification.WearableExtender インスタンス。呼び出しをチェーンできます。

属性

注釈

この通知のコンテンツを表示するためのカスタムの高さをピクセル単位で設定します。 このオプションは、setDisplayIntent(PendingIntent) を使用して作成されたカスタム表示通知でのみ使用できます。 setCustomSizePreset(int) と getCustomContentHeight() も参照してください。

android.app.Notification.WearableExtender.setCustomContentHeightの Android リファレンス。

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

適用対象