RemoteViews.RemoteResponse.FromPendingIntent(PendingIntent) 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.
Creates a response which sends a pending intent as part of the response. The source bounds ( Intent.getSourceBounds() ) of the intent will be set to the bounds of the target view in screen space. Note that any activity options associated with the mPendingIntent may get overridden before starting the intent.
[Android.Runtime.Register("fromPendingIntent", "(Landroid/app/PendingIntent;)Landroid/widget/RemoteViews$RemoteResponse;", "", ApiSince=29)]
public static Android.Widget.RemoteViews.RemoteResponse FromPendingIntent(Android.App.PendingIntent pendingIntent);
[<Android.Runtime.Register("fromPendingIntent", "(Landroid/app/PendingIntent;)Landroid/widget/RemoteViews$RemoteResponse;", "", ApiSince=29)>]
static member FromPendingIntent : Android.App.PendingIntent -> Android.Widget.RemoteViews.RemoteResponse
Parameters
- pendingIntent
- PendingIntent
PendingIntent : The PendingIntent to send as part of the response. This value cannot be null .
Returns
This value cannot be null .
- Attributes
Remarks
Java documentation for RemoteViews.RemoteResponse.
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.