Compartilhar via


JobService.PermissionBind Field

Definition

Job services must be protected with this permission:

[Android.Runtime.Register("PERMISSION_BIND")]
public const string PermissionBind;
[<Android.Runtime.Register("PERMISSION_BIND")>]
val mutable PermissionBind : string

Field Value

Attributes

Remarks

Job services must be protected with this permission:

&#60;service android:name="MyJobService"
                         android:permission="android.permission.BIND_JOB_SERVICE" &#62;
                    ...
                &#60;/service&#62;

If a job service is declared in the manifest but not protected with this permission, that service will be ignored by the system.

Java documentation for android.app.job.JobService.PERMISSION_BIND.

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.

Applies to