Configuration.GenerateDelta(Configuration, Configuration) 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.
Generate a delta Configuration between base
and change
.
[Android.Runtime.Register("generateDelta", "(Landroid/content/res/Configuration;Landroid/content/res/Configuration;)Landroid/content/res/Configuration;", "", ApiSince=33)]
public static Android.Content.Res.Configuration GenerateDelta (Android.Content.Res.Configuration base, Android.Content.Res.Configuration change);
[<Android.Runtime.Register("generateDelta", "(Landroid/content/res/Configuration;Landroid/content/res/Configuration;)Landroid/content/res/Configuration;", "", ApiSince=33)>]
static member GenerateDelta : Android.Content.Res.Configuration * Android.Content.Res.Configuration -> Android.Content.Res.Configuration
Parameters
- base
- Configuration
- change
- Configuration
Returns
- Attributes
Remarks
Generate a delta Configuration between base
and change
. The resulting delta can be used with #updateFrom(Configuration)
. <p /> Caveat: If the any of the Configuration's members becomes undefined, then #updateFrom(Configuration)
will treat it as a no-op and not update that member.
This is fine for device configurations as no member is ever undefined.
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.