RemoteViews.SetOnCheckedChangeResponse Method
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.
Equivalent to calling
android.widget.CompoundButton#setOnCheckedChangeListener(
android.widget.CompoundButton.OnCheckedChangeListener)
to launch the provided RemoteResponse
.
[Android.Runtime.Register("setOnCheckedChangeResponse", "(ILandroid/widget/RemoteViews$RemoteResponse;)V", "GetSetOnCheckedChangeResponse_ILandroid_widget_RemoteViews_RemoteResponse_Handler", ApiSince=31)]
public virtual void SetOnCheckedChangeResponse (int viewId, Android.Widget.RemoteViews.RemoteResponse response);
[<Android.Runtime.Register("setOnCheckedChangeResponse", "(ILandroid/widget/RemoteViews$RemoteResponse;)V", "GetSetOnCheckedChangeResponse_ILandroid_widget_RemoteViews_RemoteResponse_Handler", ApiSince=31)>]
abstract member SetOnCheckedChangeResponse : int * Android.Widget.RemoteViews.RemoteResponse -> unit
override this.SetOnCheckedChangeResponse : int * Android.Widget.RemoteViews.RemoteResponse -> unit
- viewId
- Int32
The id of the view that will trigger the PendingIntent
when checked
state changes.
- response
- RemoteViews.RemoteResponse
The RemoteResponse
to send when the checked state changes.
- Attributes
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.