Android Guides | Samples

Android.Content.MutableContextWrapper Class

Special version of ContextWrapper that allows the base context to be modified after it is initially set.

See Also: MutableContextWrapper

Syntax

[Android.Runtime.Register("android/content/MutableContextWrapper", DoNotGenerateAcw=true)]
public class MutableContextWrapper : ContextWrapper

Remarks

Special version of ContextWrapper that allows the base context to be modified after it is initially set.

[Android Documentation]

Requirements

Namespace: Android.Content
Assembly: Mono.Android (in Mono.Android.dll)
Assembly Versions: 0.0.0.0
Since: Added in API level 1

The members of Android.Content.MutableContextWrapper are listed below.

See Also: ContextWrapper

Public Constructors

Protected Constructors

A constructor used when creating managed representations of JNI objects; called by the runtime.

Protected Properties

[read-only]
override
ThresholdClassIntPtr. This API supports the Mono for Android infrastructure and is not intended to be used directly from your code.
[read-only]
override
ThresholdTypeType. This API supports the Mono for Android infrastructure and is not intended to be used directly from your code.

Public Methods

SetBaseContext(Context)
Change the base context for this ContextWrapper.