InputContentInfo Constructors
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.
Overloads
InputContentInfo(Uri, ClipDescription) |
Constructs |
InputContentInfo(Uri, ClipDescription, Uri) |
Constructs |
InputContentInfo(Uri, ClipDescription)
Constructs InputContentInfo
object only with mandatory data.
[Android.Runtime.Register(".ctor", "(Landroid/net/Uri;Landroid/content/ClipDescription;)V", "", ApiSince=25)]
public InputContentInfo (Android.Net.Uri contentUri, Android.Content.ClipDescription description);
[<Android.Runtime.Register(".ctor", "(Landroid/net/Uri;Landroid/content/ClipDescription;)V", "", ApiSince=25)>]
new Android.Views.InputMethods.InputContentInfo : Android.Net.Uri * Android.Content.ClipDescription -> Android.Views.InputMethods.InputContentInfo
Parameters
- contentUri
- Uri
Content URI to be exported from the input method.
This cannot be null
.
- description
- ClipDescription
A ClipDescription
object that contains the metadata of
contentUri
such as MIME type(s). This object cannot be null
. Also
ClipDescription#getLabel()
should be describing the content specified by
contentUri
for accessibility reasons.
- Attributes
Remarks
Constructs InputContentInfo
object only with mandatory data.
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
InputContentInfo(Uri, ClipDescription, Uri)
Constructs InputContentInfo
object with additional link URI.
[Android.Runtime.Register(".ctor", "(Landroid/net/Uri;Landroid/content/ClipDescription;Landroid/net/Uri;)V", "", ApiSince=25)]
public InputContentInfo (Android.Net.Uri contentUri, Android.Content.ClipDescription description, Android.Net.Uri? linkUri);
[<Android.Runtime.Register(".ctor", "(Landroid/net/Uri;Landroid/content/ClipDescription;Landroid/net/Uri;)V", "", ApiSince=25)>]
new Android.Views.InputMethods.InputContentInfo : Android.Net.Uri * Android.Content.ClipDescription * Android.Net.Uri -> Android.Views.InputMethods.InputContentInfo
Parameters
- contentUri
- Uri
Content URI to be exported from the input method.
This cannot be null
.
- description
- ClipDescription
A ClipDescription
object that contains the metadata of
contentUri
such as MIME type(s). This object cannot be null
. Also
ClipDescription#getLabel()
should be describing the content specified by
contentUri
for accessibility reasons.
- linkUri
- Uri
An optional http
or https
URI. The editor author may provide
a way to navigate the user to the specified web page if this is not null
.
- Attributes
Remarks
Constructs InputContentInfo
object with additional link URI.
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.