ServiceInfo.ForegroundServiceTypeRemoteMessaging フィールド
定義
重要
一部の情報は、リリース前に大きく変更される可能性があるプレリリースされた製品に関するものです。 Microsoft は、ここに記載されている情報について、明示または黙示を問わず、一切保証しません。
注意事項
This constant will be removed in the future version. Use Android.Content.PM.ForegroundService enum directly instead of this field.
属性内の android.R.attr#foregroundServiceType
にremoteMessaging
対応する定数。
[Android.Runtime.Register("FOREGROUND_SERVICE_TYPE_REMOTE_MESSAGING", ApiSince=34)]
[Android.Runtime.RequiresPermission("android.permission.FOREGROUND_SERVICE_REMOTE_MESSAGING")]
[System.Obsolete("This constant will be removed in the future version. Use Android.Content.PM.ForegroundService enum directly instead of this field.", true)]
public const Android.Content.PM.ForegroundService ForegroundServiceTypeRemoteMessaging = 512;
[<Android.Runtime.Register("FOREGROUND_SERVICE_TYPE_REMOTE_MESSAGING", ApiSince=34)>]
[<Android.Runtime.RequiresPermission("android.permission.FOREGROUND_SERVICE_REMOTE_MESSAGING")>]
[<System.Obsolete("This constant will be removed in the future version. Use Android.Content.PM.ForegroundService enum directly instead of this field.", true)>]
val mutable ForegroundServiceTypeRemoteMessaging : Android.Content.PM.ForegroundService
フィールド値
Value = 512実装
- 属性
注釈
属性内の android.R.attr#foregroundServiceType
にremoteMessaging
対応する定数。 デバイス間でメッセージを中継するためにローカル サーバーをホストするメッセージングユース ケース。
の android.content.pm.ServiceInfo.FOREGROUND_SERVICE_TYPE_REMOTE_MESSAGING
Java ドキュメント。
このページの一部は、によって作成および共有された作業に基づく変更であり、に記載されている条件に従って使用されます。