VoiceInteractionManager.CreateRequestReadScreenContextIntent 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.
Creates an intent which can be used to request access to screen context for current assistant role holder.
[Android.Runtime.Register("createRequestReadScreenContextIntent", "()Landroid/content/Intent;", "", ApiSince=37)]
public Android.Content.Intent CreateRequestReadScreenContextIntent();
[<Android.Runtime.Register("createRequestReadScreenContextIntent", "()Landroid/content/Intent;", "", ApiSince=37)>]
member this.CreateRequestReadScreenContextIntent : unit -> Android.Content.Intent
Returns
The created intent.
- Attributes
Remarks
Creates an intent which can be used to request access to screen context for current assistant role holder. This intent MUST be used with Activity.startActivityForResult(Intent, int). The result code of the activity will be Activity.RESULT_OK if the request was granted, Activity.RESULT_CANCELED if not. If the caller is not the current default assistant, the request will be denied automatically.
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.