SliceSpec(String, Int32) Constructor
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 a slice specification with the given type and revision.
[Android.Runtime.Register(".ctor", "(Ljava/lang/String;I)V", "", ApiSince=28)]
public SliceSpec(string type, int revision);
[<Android.Runtime.Register(".ctor", "(Ljava/lang/String;I)V", "", ApiSince=28)>]
new Android.App.Slices.SliceSpec : string * int -> Android.App.Slices.SliceSpec
Parameters
- type
- String
The name that identifies the structure of the slice data. Must not be null.
- revision
- Int32
The revision of that data structure.
- Attributes
Remarks
Revisions for the same type are expected to increase and remain backward compatible. A specification can render a candidate with the same type and an equal or lower revision.