PackageManager.PropertyNativeServiceFunctionName Field
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.
Service level android.content.pm.PackageManager.Property tag for native services
specifying the symbol name of the entry point function for the service.
[Android.Runtime.Register("PROPERTY_NATIVE_SERVICE_FUNCTION_NAME", ApiSince=37)]
public const string PropertyNativeServiceFunctionName;
[<Android.Runtime.Register("PROPERTY_NATIVE_SERVICE_FUNCTION_NAME", ApiSince=37)>]
val mutable PropertyNativeServiceFunctionName : string
Field Value
- Attributes
Remarks
Service level PackageManager.Property tag for native services specifying the symbol name of the entry point function for the service. If not specified, the system executes ANativeService_onCreate.
<service android:isolatedProcess="true"
android:nativeService="true">
<property
android:name="android.app.PROPERTY_NATIVE_SERVICE_FUNCTION_NAME"
android:value="native_service_createService"/>
</service>
Android reference for android.content.pm.PackageManager.PROPERTY_NATIVE_SERVICE_FUNCTION_NAME.
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.