Condividi tramite


ConditionProviderService.OnSubscribe(Uri) Method

Definition

Called by the system when there is a new Condition to be managed by this provider.

[Android.Runtime.Register("onSubscribe", "(Landroid/net/Uri;)V", "GetOnSubscribe_Landroid_net_Uri_Handler", ApiSince=24)]
public abstract void OnSubscribe (Android.Net.Uri? conditionId);
[<Android.Runtime.Register("onSubscribe", "(Landroid/net/Uri;)V", "GetOnSubscribe_Landroid_net_Uri_Handler", ApiSince=24)>]
abstract member OnSubscribe : Android.Net.Uri -> unit

Parameters

conditionId
Uri

the Uri describing the criteria of the condition.

Attributes

Remarks

Called by the system when there is a new Condition to be managed by this provider.

Java documentation for android.service.notification.ConditionProviderService.onSubscribe(android.net.Uri).

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