語言

Intent.ActionHomeTimeZoneChanged 欄位

定義

廣播動作:使用者的居住時區已更改。

[Android.Runtime.Register("ACTION_HOME_TIME_ZONE_CHANGED", ApiSince=37)]
public const string ActionHomeTimeZoneChanged;
[<Android.Runtime.Register("ACTION_HOME_TIME_ZONE_CHANGED", ApiSince=37)>]
val mutable ActionHomeTimeZoneChanged : string

欄位值

實作

屬性

備註

廣播動作:使用者的居住時區已更改。 意圖會包含以下額外值:EXTRA_HOME_TIME_ZONE_ID - 新時區的時區 ID 字串值

這是一種受保護的意圖,只能由系統傳送。

這需要取得Manifest.permission.READ_HOME_TIME_ZONE的許可。 需要Manifest.permission.READ_HOME_TIME_ZONE

Android 參考資料。android.content.Intent.ACTION_HOME_TIME_ZONE_CHANGED

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

適用於