AppFunctionMetadata.Scope 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.
Returns the scope of the app function.
public int Scope { [Android.Runtime.Register("getScope", "()I", "", ApiSince=37)] get; }
[<get: Android.Runtime.Register("getScope", "()I", "", ApiSince=37)>]
member this.Scope : int
Property Value
Value is one of the following: SCOPE_GLOBAL; SCOPE_ACTIVITY
- Attributes
Remarks
Returns the scope of the app function.
The scope determines the function's lifecycle and uniqueness rules. Depending on the scope, there could be at most one or multiple functions registered in the system with the same AppFunctionName.
See values below for more details on each scope.
Android reference for android.app.appfunctions.AppFunctionMetadata.getScope.
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.