Language

AppContentProjectionService.OnContentRequestCanceled Method

Definition

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.

Applies to