Intent.Scheme Property
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.
Return the scheme portion of the intent's data.
public virtual string? Scheme { [Android.Runtime.Register("getScheme", "()Ljava/lang/String;", "GetGetSchemeHandler")] get; }
[<get: Android.Runtime.Register("getScheme", "()Ljava/lang/String;", "GetGetSchemeHandler")>]
member this.Scheme : string
Property Value
The scheme of this intent.
- Attributes
Remarks
Return the scheme portion of the intent's data. If the data is null or does not include a scheme, null is returned. Otherwise, the scheme prefix without the final ':' is returned, i.e. "http".
This is the same as calling getData().getScheme() (and checking for null data).
Java documentation for android.content.Intent.getScheme()
.
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.