次の方法で共有


Settings.System Class

Definition

System settings, containing miscellaneous system preferences.

[Android.Runtime.Register("android/provider/Settings$System", DoNotGenerateAcw=true)]
public sealed class Settings.System : Android.Provider.Settings.NameValueTable
[<Android.Runtime.Register("android/provider/Settings$System", DoNotGenerateAcw=true)>]
type Settings.System = class
    inherit Settings.NameValueTable
Inheritance
Attributes

Remarks

System settings, containing miscellaneous system preferences. This table holds simple name/value pairs. There are convenience functions for accessing individual settings entries.

Java documentation for android.provider.Settings.System.

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.

Constructors

Settings.System()

Fields

AccelerometerRotation

Control whether the accelerometer will be used to change screen orientation.

AdbEnabled
Obsolete.

This member is deprecated.

AirplaneModeOn
Obsolete.

This member is deprecated.

AirplaneModeRadios
Obsolete.

This member is deprecated.

AlarmAlert

Persistent store for the system-wide default alarm alert.

AlwaysFinishActivities
Obsolete.

If 1, the activity manager will aggressively finish activities and processes as soon as they are no longer needed.

AndroidId
Obsolete.

This member is deprecated.

AnimatorDurationScale
Obsolete.

Scaling factor for Animator-based animations.

AppendForLastAudible

Appended to various volume related settings to record the previous values before they the settings were affected by a silent/vibrate ringer mode change.

AutoTime
Obsolete.

This member is deprecated.

AutoTimeZone
Obsolete.

This member is deprecated.

BluetoothDiscoverability

Determines whether remote devices may discover and/or connect to this device.

BluetoothDiscoverabilityTimeout

Bluetooth discoverability timeout.

BluetoothOn
Obsolete.

This member is deprecated.

DataRoaming
Obsolete.

This member is deprecated.

DateFormat

This member is deprecated.

DebugApp
Obsolete.

Name of an application package to be debugged.

DeviceProvisioned
Obsolete.

This member is deprecated.

DimScreen
Obsolete.

Whether or not to dim the screen.

DtmfToneTypeWhenDialing

CDMA only settings DTMF tone type played by the dialer when dialing.

DtmfToneWhenDialing

Whether the audible DTMF tones are played by the dialer when dialing.

EndButtonBehavior

What happens when the user presses the end call button if they're not on a call.

FontScale

Scaling factor for fonts, float.

HapticFeedbackEnabled

Whether haptic feedback (Vibrate on tap) is enabled.

HttpProxy
Obsolete.

This member is deprecated.

InstallNonMarketApps
Obsolete.

This member is deprecated.

LocationProvidersAllowed
Obsolete.

This member is deprecated.

LockPatternEnabled
Obsolete.

This member is deprecated.

LockPatternTactileFeedbackEnabled
Obsolete.

This member is deprecated.

LockPatternVisible
Obsolete.

This member is deprecated.

LoggingId
Obsolete.

This member is deprecated.

ModeRinger
Obsolete.

This member is deprecated.

ModeRingerStreamsAffected

Determines which streams are affected by ringer and zen mode changes.

MuteStreamsAffected

Determines which streams are affected by mute.

Name (Inherited from Settings.NameValueTable)
NetworkPreference
Obsolete.

This member is deprecated.

NextAlarmFormatted
Obsolete.

A formatted string of the next alarm that is set, or the empty string if there is no alarm set.

NotificationSound

Persistent store for the system-wide default notification sound.

ParentalControlEnabled
Obsolete.

This member is deprecated.

ParentalControlLastUpdate
Obsolete.

This member is deprecated.

ParentalControlRedirectUrl
Obsolete.

This member is deprecated.

RadioBluetooth
Obsolete.

This member is deprecated.

RadioCell
Obsolete.

This member is deprecated.

RadioNfc
Obsolete.

This member is deprecated.

RadioWifi
Obsolete.

This member is deprecated.

Ringtone

Persistent store for the system-wide default ringtone URI.

ScreenBrightness

The screen backlight brightness between 0 and 255.

ScreenBrightnessMode

Control whether to enable automatic brightness mode.

ScreenBrightnessModeAutomatic
Obsolete.

SCREEN_BRIGHTNESS_MODE value for automatic mode.

ScreenBrightnessModeManual
Obsolete.

SCREEN_BRIGHTNESS_MODE value for manual mode.

ScreenOffTimeout

The amount of time in milliseconds before the device goes to sleep or begins to dream after a period of inactivity.

SettingsClassname
Obsolete.

This member is deprecated.

SetupWizardHasRun

Whether the setup wizard has been run before (on first boot), or if it still needs to be run.

ShowGtalkServiceStatus
ShowProcesses
Obsolete.

Control whether the process CPU usage meter should be shown.

ShowWebSuggestions
Obsolete.

This member is deprecated.

SoundEffectsEnabled

Whether the sounds effects (key clicks, lid open .

StayOnWhilePluggedIn
Obsolete.

This member is deprecated.

SysPropSettingVersion
TextAutoCaps

Setting to enable Auto Caps in text editors.

TextAutoPunctuate

Setting to enable Auto Punctuate in text editors.

TextAutoReplace

Setting to enable Auto Replace (AutoText) in text editors.

TextShowPassword

Setting to showing password characters in text editors.

Time1224

Display the user's times, e.

TransitionAnimationScale
Obsolete.

Scaling factor for activity transition animations.

UsbMassStorageEnabled
Obsolete.

This member is deprecated.

UseGoogleMail
Obsolete.

This member is deprecated.

UserRotation

Default screen rotation when no other policy applies.

Value (Inherited from Settings.NameValueTable)
VibrateOn

Whether vibrate is on for different events.

VibrateWhenRinging

Whether the phone vibrates when it is ringing due to an incoming call.

VolumeAlarm

Alarm volume.

VolumeBluetoothSco

Bluetooth Headset volume.

VolumeMusic

Music/media/gaming volume.

VolumeNotification

Notification volume.

VolumeRing

Ringer volume.

VolumeSystem

System/notifications volume.

VolumeVoice

Voice call volume.

WaitForDebugger
Obsolete.

If 1, when launching DEBUG_APP it will wait for the debugger before starting user code.

WallpaperActivity
Obsolete.

Name of activity to use for wallpaper on the home screen.

WifiMaxDhcpRetryCount
Obsolete.

This member is deprecated.

WifiMobileDataTransitionWakelockTimeoutMs
Obsolete.

This member is deprecated.

WifiNetworksAvailableNotificationOn
Obsolete.

This member is deprecated.

WifiNetworksAvailableRepeatDelay
Obsolete.

This member is deprecated.

WifiNumOpenNetworksKept
Obsolete.

This member is deprecated.

WifiOn
Obsolete.

This member is deprecated.

WifiSleepPolicy
Obsolete.

This member is deprecated.

WifiSleepPolicyDefault
Obsolete.

This member is deprecated.

WifiSleepPolicyNever
Obsolete.

This member is deprecated.

WifiSleepPolicyNeverWhilePlugged
Obsolete.

This member is deprecated.

WifiStaticDns1
Obsolete.

If using static IP, the primary DNS's IP address.

WifiStaticDns2
Obsolete.

If using static IP, the secondary DNS's IP address.

WifiStaticGateway
Obsolete.

If using static IP, the gateway's IP address.

WifiStaticIp
Obsolete.

The static IP address.

WifiStaticNetmask
Obsolete.

If using static IP, the net mask.

WifiUseStaticIp
Obsolete.

Whether to use static IP and other static network attributes.

WifiWatchdogAcceptablePacketLossPercentage
Obsolete.

This member is deprecated.

WifiWatchdogApCount
Obsolete.

This member is deprecated.

WifiWatchdogBackgroundCheckDelayMs
Obsolete.

This member is deprecated.

WifiWatchdogBackgroundCheckEnabled
Obsolete.

This member is deprecated.

WifiWatchdogBackgroundCheckTimeoutMs
Obsolete.

This member is deprecated.

WifiWatchdogInitialIgnoredPingCount
Obsolete.

This member is deprecated.

WifiWatchdogMaxApChecks
Obsolete.

This member is deprecated.

WifiWatchdogOn
Obsolete.

This member is deprecated.

WifiWatchdogPingCount
Obsolete.

This member is deprecated.

WifiWatchdogPingDelayMs
Obsolete.

This member is deprecated.

WifiWatchdogPingTimeoutMs
Obsolete.

This member is deprecated.

WindowAnimationScale
Obsolete.

Scaling factor for normal window animations.

Properties

Class

Returns the runtime class of this Object.

(Inherited from Object)
ContentUri

The content:// style URL for this table

DefaultAlarmAlertUri

A Uri that will point to the current default alarm alert at any given time.

DefaultNotificationUri

A Uri that will point to the current default notification sound at any given time.

DefaultRingtoneUri

A Uri that will point to the current default ringtone at any given time.

Handle

The handle to the underlying Android instance.

(Inherited from Object)
JniIdentityHashCode (Inherited from Object)
JniPeerMembers
PeerReference (Inherited from Object)
ThresholdClass

This API supports the Mono for Android infrastructure and is not intended to be used directly from your code.

(Inherited from Settings.NameValueTable)
ThresholdType

This API supports the Mono for Android infrastructure and is not intended to be used directly from your code.

(Inherited from Settings.NameValueTable)
VolumeSettings

The mapping of stream type (integer) to its setting.

Methods

CanWrite(Context)

Checks if the specified app can modify system settings.

Clone()

Creates and returns a copy of this object.

(Inherited from Object)
Dispose() (Inherited from Object)
Dispose(Boolean) (Inherited from Object)
Equals(Object)

Indicates whether some other object is "equal to" this one.

(Inherited from Object)
GetConfiguration(ContentResolver, Configuration)

Convenience function to read all of the current configuration-related settings into a Configuration object.

GetFloat(ContentResolver, String, Single)

Convenience function for retrieving a single system settings value as a floating point number.

GetFloat(ContentResolver, String)

Convenience function for retrieving a single system settings value as a float.

GetHashCode()

Returns a hash code value for the object.

(Inherited from Object)
GetInt(ContentResolver, String, Int32)

Convenience function for retrieving a single system settings value as an integer.

GetInt(ContentResolver, String)

Convenience function for retrieving a single system settings value as an integer.

GetLong(ContentResolver, String, Int64)

Convenience function for retrieving a single system settings value as a long.

GetLong(ContentResolver, String)

Convenience function for retrieving a single system settings value as a long.

GetShowGTalkServiceStatus(ContentResolver)
Obsolete.

This member is deprecated.

GetString(ContentResolver, String)

Look up a name in the database.

GetUriFor(String)

Construct the content URI for a particular name/value pair, useful for monitoring changes with a ContentObserver.

JavaFinalize()

Called by the garbage collector on an object when garbage collection determines that there are no more references to the object.

(Inherited from Object)
Notify()

Wakes up a single thread that is waiting on this object's monitor.

(Inherited from Object)
NotifyAll()

Wakes up all threads that are waiting on this object's monitor.

(Inherited from Object)
PutConfiguration(ContentResolver, Configuration)

Convenience function to write a batch of configuration-related settings from a Configuration object.

PutFloat(ContentResolver, String, Single)

Convenience function for updating a single settings value as a floating point number.

PutInt(ContentResolver, String, Int32)

Convenience function for updating a single settings value as an integer.

PutLong(ContentResolver, String, Int64)

Convenience function for updating a single settings value as a long integer.

PutString(ContentResolver, String, String)

Store a name/value pair into the database.

SetHandle(IntPtr, JniHandleOwnership)

Sets the Handle property.

(Inherited from Object)
SetShowGTalkServiceStatus(ContentResolver, Boolean)
Obsolete.

This member is deprecated.

ToArray<T>() (Inherited from Object)
ToString()

Returns a string representation of the object.

(Inherited from Object)
UnregisterFromRuntime() (Inherited from Object)
Wait()

Causes the current thread to wait until it is awakened, typically by being <em>notified</em> or <em>interrupted</em>.

(Inherited from Object)
Wait(Int64, Int32)

Causes the current thread to wait until it is awakened, typically by being <em>notified</em> or <em>interrupted</em>, or until a certain amount of real time has elapsed.

(Inherited from Object)
Wait(Int64)

Causes the current thread to wait until it is awakened, typically by being <em>notified</em> or <em>interrupted</em>, or until a certain amount of real time has elapsed.

(Inherited from Object)

Explicit Interface Implementations

IJavaPeerable.Disposed() (Inherited from Object)
IJavaPeerable.DisposeUnlessReferenced() (Inherited from Object)
IJavaPeerable.Finalized() (Inherited from Object)
IJavaPeerable.JniManagedPeerState (Inherited from Object)
IJavaPeerable.SetJniIdentityHashCode(Int32) (Inherited from Object)
IJavaPeerable.SetJniManagedPeerState(JniManagedPeerStates) (Inherited from Object)
IJavaPeerable.SetPeerReference(JniObjectReference) (Inherited from Object)

Extension Methods

JavaCast<TResult>(IJavaObject)

Performs an Android runtime-checked type conversion.

JavaCast<TResult>(IJavaObject)
GetJniTypeName(IJavaPeerable)

Applies to