PackageManager.PropertyNativeServiceLibraryName 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 name of the library to be loaded to the process that hosts the service.
[Android.Runtime.Register("PROPERTY_NATIVE_SERVICE_LIBRARY_NAME", ApiSince=37)]
public const string PropertyNativeServiceLibraryName;
[<Android.Runtime.Register("PROPERTY_NATIVE_SERVICE_LIBRARY_NAME", ApiSince=37)>]
val mutable PropertyNativeServiceLibraryName : string
Field Value
- Attributes
Remarks
Service level PackageManager.Property tag for native services specifying the name of the library to be loaded to the process that hosts the service. If not specified, the system tries to load libmain.so.
<service android:isolatedProcess="true"
android:nativeService="true">
<property
android:name="android.app.PROPERTY_NATIVE_SERVICE_LIBRARY_NAME"
android:value="libnativeservice.so"/>
</service>
Android reference for android.content.pm.PackageManager.PROPERTY_NATIVE_SERVICE_LIBRARY_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.