共用方式為


Configuration.UpdateFrom(Configuration) Method

Definition

Copies the fields from delta into this Configuration object, keeping track of which ones have changed.

[Android.Runtime.Register("updateFrom", "(Landroid/content/res/Configuration;)I", "")]
public Android.Content.PM.ConfigChanges UpdateFrom (Android.Content.Res.Configuration delta);
[<Android.Runtime.Register("updateFrom", "(Landroid/content/res/Configuration;)I", "")>]
member this.UpdateFrom : Android.Content.Res.Configuration -> Android.Content.PM.ConfigChanges

Parameters

Returns

a bit mask of the changed fields, as per #diff

Attributes

Remarks

Copies the fields from delta into this Configuration object, keeping track of which ones have changed. Any undefined fields in delta are ignored and not copied in to the current Configuration.

Java documentation for android.content.res.Configuration.updateFrom(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