EgressReceiverService.OnBind(Intent) Method
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.
Entry point for binding.
[Android.Runtime.Register("onBind", "(Landroid/content/Intent;)Landroid/os/IBinder;", "", ApiSince=37)]
public override sealed Android.OS.IBinder? OnBind(Android.Content.Intent? intent);
[<Android.Runtime.Register("onBind", "(Landroid/content/Intent;)Landroid/os/IBinder;", "", ApiSince=37)>]
override this.OnBind : Android.Content.Intent -> Android.OS.IBinder
Parameters
- intent
- Intent
The binding request, or null. Its action selects whether this service returns its binder.
Returns
The service binder when the intent is not null and its action matches ServiceInterface; otherwise, null. Throws SecurityException if this service is running in a Private Compute Core UID.
- Attributes
Remarks
Entry point for binding. This method is final to prevent overriding, ensuring the system can securely route the AIDL binder.
Android reference for android.app.privatecompute.EgressReceiverService.onBind.
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.