ClipData.Item.Builder.SetIntentSender(IntentSender) 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.
Sets the IntentSender for the item to be constructed. To prevent receiving apps from improperly manipulating the intent to launch another activity as this caller, the provided IntentSender must be immutable. If there is a fixed lifetime for this ClipData (ie. for drag and drop), the system will cancel the IntentSender when it is no longer used.
[Android.Runtime.Register("setIntentSender", "(Landroid/content/IntentSender;)Landroid/content/ClipData$Item$Builder;", "", ApiSince=35)]
public Android.Content.ClipData.Item.Builder SetIntentSender(Android.Content.IntentSender? intentSender);
[<Android.Runtime.Register("setIntentSender", "(Landroid/content/IntentSender;)Landroid/content/ClipData$Item$Builder;", "", ApiSince=35)>]
member this.SetIntentSender : Android.Content.IntentSender -> Android.Content.ClipData.Item.Builder
Parameters
- intentSender
- IntentSender
This value may be null .
Returns
This value cannot be null .
- Attributes
Remarks
Sets the IntentSender for the item to be constructed. To prevent receiving apps from improperly manipulating the intent to launch another activity as this caller, the provided IntentSender must be immutable. If there is a fixed lifetime for this ClipData (ie. for drag and drop), the system will cancel the IntentSender when it is no longer used.
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.