AppContentProjectionService.OnLoopbackProjectionStarted 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 picked a content to be shared within the requesting app.
[Android.Runtime.Register("onLoopbackProjectionStarted", "(Landroid/media/projection/AppContentProjectionSession;I)Z", "GetOnLoopbackProjectionStarted_Landroid_media_projection_AppContentProjectionSession_IHandler", ApiSince=37)]
public abstract bool OnLoopbackProjectionStarted(Android.Media.Projection.AppContentProjectionSession session, int contentId);
[<Android.Runtime.Register("onLoopbackProjectionStarted", "(Landroid/media/projection/AppContentProjectionSession;I)Z", "GetOnLoopbackProjectionStarted_Landroid_media_projection_AppContentProjectionSession_IHandler", ApiSince=37)>]
abstract member OnLoopbackProjectionStarted : Android.Media.Projection.AppContentProjectionSession * int -> bool
Parameters
- session
- AppContentProjectionSession
the session started for sharing the selected MediaProjectionAppContent
- contentId
- Int32
the id of the selected MediaProjectionAppContent
Returns
true if the request has been fulfilled, false otherwise
- Attributes
Remarks
Called when the user picked a content to be shared within the requesting app.
This can be called multiple times if the user picks a different content to be shared at a later point.
contentId is the id that has been provided by this application during the onContentRequest(AppContentRequest) call. See MediaProjectionAppContent for more information about the id.
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.