Android.Media.Projection.MediaProjectionManager.GetMediaProjection Method
Retrieve the MediaProjection obtained from a succesful screen capture request.

Syntax

[Android.Runtime.Register("getMediaProjection", "(ILandroid/content/Intent;)Landroid/media/projection/MediaProjection;", "")]
public MediaProjection GetMediaProjection (int resultCode, Android.Content.Intent resultData)

Parameters

resultCode
The result code from Android.App.Activity.OnActivityResult(int, Android.App.Result, Android.App.Result)
resultData
The resulting data from Android.App.Activity.OnActivityResult(int, Android.App.Result, Android.App.Result)

Returns

Documentation for this section has not yet been entered.

Remarks

Retrieve the MediaProjection obtained from a succesful screen capture request. Will be null if the result from the startActivityForResult() is anything other than RESULT_OK.

[Android Documentation]

Requirements

Namespace: Android.Media.Projection
Assembly: Mono.Android (in Mono.Android.dll)
Assembly Versions: 0.0.0.0