AppContentProjectionService.OnContentRequestCanceled 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.
Called when the user didn't pick some app content to be shared.
[Android.Runtime.Register("onContentRequestCanceled", "()V", "GetOnContentRequestCanceledHandler", ApiSince=37)]
public abstract void OnContentRequestCanceled();
[<Android.Runtime.Register("onContentRequestCanceled", "()V", "GetOnContentRequestCanceledHandler", ApiSince=37)>]
abstract member OnContentRequestCanceled : unit -> unit
- Attributes
Remarks
Called when the user didn't pick some app content to be shared. This can happen if the projection request was canceled, or the user picked another source (e.g. display, whole app).
Any resources created for sharing app content, such as thumbnails, can be discarded at this point.
Android reference for android.media.projection.AppContentProjectionService.onContentRequestCanceled.
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.