InstallReferrerService
使用集合让一切井井有条
根据您的偏好保存内容并对其进行分类。
继承的常量摘要
继承自 android.app.Service 类
| int |
START_CONTINUATION_MASK |
|
| int |
START_FLAG_REDELIVERY |
|
| int |
START_FLAG_RETRY |
|
| int |
START_NOT_STICKY |
|
| int |
START_REDELIVER_INTENT |
|
| int |
START_STICKY |
|
| int |
START_STICKY_COMPATIBILITY |
|
继承自 android.content.Context 类
| 字符串 |
ACCESSIBILITY_SERVICE |
|
| 字符串 |
ACCOUNT_SERVICE |
|
| 字符串 |
ACTIVITY_SERVICE |
|
| 字符串 |
ALARM_SERVICE |
|
| 字符串 |
AUDIO_SERVICE |
|
| int |
BIND_ABOVE_CLIENT |
|
| int |
BIND_ADJUST_WITH_ACTIVITY |
|
| int |
BIND_ALLOW_OOM_MANAGEMENT |
|
| int |
BIND_AUTO_CREATE |
|
| int |
BIND_DEBUG_UNBIND |
|
| int |
BIND_IMPORTANT |
|
| int |
BIND_NOT_FOREGROUND |
|
| int |
BIND_WAIVE_PRIORITY |
|
| 字符串 |
BLUETOOTH_SERVICE |
|
| 字符串 |
CLIPBOARD_SERVICE |
|
| 字符串 |
CONNECTIVITY_SERVICE |
|
| int |
CONTEXT_IGNORE_SECURITY |
|
| int |
CONTEXT_INCLUDE_CODE |
|
| int |
CONTEXT_RESTRICTED |
|
| 字符串 |
DEVICE_POLICY_SERVICE |
|
| 字符串 |
DISPLAY_SERVICE |
|
| 字符串 |
DOWNLOAD_SERVICE |
|
| 字符串 |
DROPBOX_SERVICE |
|
| 字符串 |
INPUT_METHOD_SERVICE |
|
| 字符串 |
INPUT_SERVICE |
|
| 字符串 |
KEYGUARD_SERVICE |
|
| 字符串 |
LAYOUT_INFLATER_SERVICE |
|
| 字符串 |
LOCATION_SERVICE |
|
| 字符串 |
MEDIA_ROUTER_SERVICE |
|
| int |
MODE_APPEND |
|
| int |
MODE_ENABLE_WRITE_AHEAD_LOGGING |
|
| int |
MODE_MULTI_PROCESS |
|
| int |
MODE_PRIVATE |
|
| int |
MODE_WORLD_READABLE |
|
| int |
MODE_WORLD_WRITEABLE |
|
| 字符串 |
NFC_SERVICE |
|
| 字符串 |
NOTIFICATION_SERVICE |
|
| 字符串 |
NSD_SERVICE |
|
| 字符串 |
POWER_SERVICE |
|
| 字符串 |
SEARCH_SERVICE |
|
| 字符串 |
SENSOR_SERVICE |
|
| 字符串 |
STORAGE_SERVICE |
|
| 字符串 |
TELEPHONY_SERVICE |
|
| 字符串 |
TEXT_SERVICES_MANAGER_SERVICE |
|
| 字符串 |
UI_MODE_SERVICE |
|
| 字符串 |
USB_SERVICE |
|
| 字符串 |
USER_SERVICE |
|
| 字符串 |
VIBRATOR_SERVICE |
|
| 字符串 |
WALLPAPER_SERVICE |
|
| 字符串 |
WIFI_P2P_SERVICE |
|
| 字符串 |
WIFI_SERVICE |
|
| 字符串 |
WINDOW_SERVICE |
|
继承自 android.content.ComponentCallbacks2 接口
| int |
TRIM_MEMORY_BACKGROUND |
|
| int |
TRIM_MEMORY_COMPLETE |
|
| int |
TRIM_MEMORY_MODERATE |
|
| int |
TRIM_MEMORY_RUNNING_CRITICAL |
|
| int |
TRIM_MEMORY_RUNNING_LOW |
|
| int |
TRIM_MEMORY_RUNNING_MODERATE |
|
| int |
TRIM_MEMORY_UI_HIDDEN |
|
公共构造函数
public
InstallReferrerService
(String name)
public
InstallReferrerService
()
如未另行说明,那么本页面中的内容已根据知识共享署名 4.0 许可获得了许可,并且代码示例已根据 Apache 2.0 许可获得了许可。有关详情,请参阅 Google 开发者网站政策。Java 是 Oracle 和/或其关联公司的注册商标。
最后更新时间 (UTC):2025-07-25。
[null,null,["最后更新时间 (UTC):2025-07-25。"],[],["`InstallReferrerService` is an `IntentService` that handles the `INSTALL_REFERRER` intent from the Google Play Store. It's launched by `InstallReferrerReceiver`. The service inherits constants from `android.app.Service`, `android.content.Context`, and `android.content.ComponentCallbacks2`. These constants define various service types, binding behaviors, and memory trim levels. The class offers two public constructors to create the `InstallReferrerService` instance: one that accepts a string *name* parameter, and one that takes no parameters.\n"]]