Aracılığıyla paylaş


Configuration.GenerateDelta(Configuration, Configuration) Method

Definition

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

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.

Java documentation for android.content.res.Configuration.generateDelta(android.content.res.Configuration, android.content.res.Configuration).

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