LauncherActivity.TargetIntent 属性
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
获取运行 PackageManager#queryIntentActivities(Intent, int)时要使用的基本意向。
protected virtual Android.Content.Intent? TargetIntent { [Android.Runtime.Register("getTargetIntent", "()Landroid/content/Intent;", "GetGetTargetIntentHandler")] get; }
[<get: Android.Runtime.Register("getTargetIntent", "()Landroid/content/Intent;", "GetGetTargetIntentHandler")>]
member this.TargetIntent : Android.Content.Intent
属性值
默认实现中的新空意向。 重写此属性以提供基本启动查询条件。
- 特性
注解
获取运行 QueryIntentActivities(Intent, PackageInfoFlags)时要使用的基本意向。
Android 参考。android.app.LauncherActivity.getTargetIntent
本页的某些部分是根据 创建和共享的工作进行的修改,并根据 许可证中所述的条款使用。