語言

Notification.DecoratedCustomViewStyle 建構函式

定義

多載

名稱 Description
Notification.DecoratedCustomViewStyle()

本頁內容與程式碼範例受內容授權條款所規範。

Notification.DecoratedCustomViewStyle(IntPtr, JniHandleOwnership)

初始化現有 Java 原生介面物件的受管理表示。

Notification.DecoratedCustomViewStyle()

本頁內容與程式碼範例受內容授權條款所規範。

[Android.Runtime.Register(".ctor", "()V", "", ApiSince=24)]
public DecoratedCustomViewStyle();
屬性

備註

本頁內容與程式碼範例受內容授權條款所規範。 Java 和 OpenJDK 是 Oracle 和/或其關係企業的商標或注冊商標。

最後更新於 2026-08-03 UTC。

Android 參考資料。android.app.Notification.DecoratedCustomViewStyle.DecoratedCustomViewStyle

本頁部分內容為基於 Open Source Project 所創建與分享的作品,並依授權條款所描述的使用進行修改。

適用於

Notification.DecoratedCustomViewStyle(IntPtr, JniHandleOwnership)

初始化現有 Java 原生介面物件的受管理表示。

protected DecoratedCustomViewStyle(IntPtr javaReference, Android.Runtime.JniHandleOwnership transfer);
new Android.App.Notification.DecoratedCustomViewStyle : nativeint * Android.Runtime.JniHandleOwnership -> Android.App.Notification.DecoratedCustomViewStyle

參數

javaReference
IntPtr

nativeint

Java 原生介面物件參考。

transfer
JniHandleOwnership

所有權轉移應用於 Java 原生介面物件參考。

備註

當 .NET 為 Android 綁定執行時建立一個受管理的 Java 物件時,會呼叫這個建構子。

本頁部分內容為基於 Open Source Project 所創建與分享的作品,並依授權條款所描述的使用進行修改。

適用於