語言

ForegroundServiceStartNotAllowedException(String) 建構函式

定義

構造 函數。

[Android.Runtime.Register(".ctor", "(Ljava/lang/String;)V", "", ApiSince=31)]
public ForegroundServiceStartNotAllowedException(string message);
[<Android.Runtime.Register(".ctor", "(Ljava/lang/String;)V", "", ApiSince=31)>]
new Android.App.ForegroundServiceStartNotAllowedException : string -> Android.App.ForegroundServiceStartNotAllowedException

參數

message
String

字串:此值不可能為空值。

屬性

備註

構造 函數。

Android 參考資料。android.app.ForegroundServiceStartNotAllowedException.ForegroundServiceStartNotAllowedException

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

適用於