ActivityOptions.SetSplashScreenStyle(Int32) 方法
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
設定開場活動的首選啟動畫面風格。
[Android.Runtime.Register("setSplashScreenStyle", "(I)Landroid/app/ActivityOptions;", "GetSetSplashScreenStyle_IHandler", ApiSince=33)]
public virtual Android.App.ActivityOptions SetSplashScreenStyle(int style);
[<Android.Runtime.Register("setSplashScreenStyle", "(I)Landroid/app/ActivityOptions;", "GetSetSplashScreenStyle_IHandler", ApiSince=33)>]
abstract member SetSplashScreenStyle : int -> Android.App.ActivityOptions
override this.SetSplashScreenStyle : int -> Android.App.ActivityOptions
參數
- style
- Int32
可以是或SplashScreen#SPLASH_SCREEN_STYLE_ICONSplashScreen#SPLASH_SCREEN_STYLE_SOLID_COLOR
傳回
這個 Android.App.ActivityOptions 實例,允許通話串接。
- 屬性
備註
設定開場活動的首選啟動畫面風格。 此規定僅適用於尚未建立活動或流程時。
Android 參考資料。android.app.ActivityOptions.setSplashScreenStyle
本頁部分內容為基於 Open Source Project 所創建與分享的作品,並依授權條款所描述的使用進行修改。