PackageInstaller.UpdateSessionAppLabel 方法
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
重载
UpdateSessionAppLabel(Int32, ICharSequence) |
更新表示在特定会话中安装的应用的标签。 |
UpdateSessionAppLabel(Int32, String) |
更新表示在特定会话中安装的应用的标签。 |
UpdateSessionAppLabel(Int32, ICharSequence)
更新表示在特定会话中安装的应用的标签。
[Android.Runtime.Register("updateSessionAppLabel", "(ILjava/lang/CharSequence;)V", "GetUpdateSessionAppLabel_ILjava_lang_CharSequence_Handler")]
public virtual void UpdateSessionAppLabel(int sessionId, Java.Lang.ICharSequence? appLabel);
[<Android.Runtime.Register("updateSessionAppLabel", "(ILjava/lang/CharSequence;)V", "GetUpdateSessionAppLabel_ILjava_lang_CharSequence_Handler")>]
abstract member UpdateSessionAppLabel : int * Java.Lang.ICharSequence -> unit
override this.UpdateSessionAppLabel : int * Java.Lang.ICharSequence -> unit
参数
- sessionId
- Int32
- appLabel
- ICharSequence
- 属性
例外
当调用方不拥有会话或会话无效时。
注解
更新表示在特定会话中安装的应用的标签。
本页的某些部分是根据 Android 开放源代码项目创建和共享的工作进行的修改,并根据 Creative Commons 2.5 属性许可证中所述的术语使用。