ApplicationStartInfo.Reason Property
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
The reason code of what triggered the process's start.
public Android.App.ApplicationStartInfoStartReason Reason { [Android.Runtime.Register("getReason", "()I", "", ApiSince=35)] get; }
[<get: Android.Runtime.Register("getReason", "()I", "", ApiSince=35)>]
member this.Reason : Android.App.ApplicationStartInfoStartReason
Property Value
- Attributes
Remarks
The reason code of what triggered the process's start.
Start reason provides granular reasoning on why the app is being started. Start reason should not be used for distinguishing between the component the app is being started for as some reasons may overlap with multiple components, see #getStartComponent
for this functionality instead.
Note: field will be set for any #getStartupState
value.
Java documentation for android.app.ApplicationStartInfo.getReason()
.
Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License.