Język

KeyCustomizationTrigger Class

Definition

Represents a trigger based on a physical key press on a peripheral.

[Android.Runtime.Register("android/hardware/input/KeyCustomizationTrigger", ApiSince=37, DoNotGenerateAcw=true)]
public sealed class KeyCustomizationTrigger : Android.Hardware.Input.CustomizationTrigger
[<Android.Runtime.Register("android/hardware/input/KeyCustomizationTrigger", ApiSince=37, DoNotGenerateAcw=true)>]
type KeyCustomizationTrigger = class
    inherit CustomizationTrigger
Inheritance
KeyCustomizationTrigger
Attributes

Constructors

Name Description
KeyCustomizationTrigger(CustomizableKeyCode)

Creates a Trigger for a specific key code.

Fields

Name Description
CustomizableKeycodeAssist
Obsolete.

Customizable Key code: Assist key.

CustomizableKeycodeBack
Obsolete.

Customizable Key code: Back key.

CustomizableKeycodeBookmark
Obsolete.

Customizable Key code: Bookmark key.

CustomizableKeycodeBrightnessDown
Obsolete.

Customizable Key code: Brightness Down key.

CustomizableKeycodeBrightnessUp
Obsolete.

Customizable Key code: Brightness Up key.

CustomizableKeycodeCalculator
Obsolete.

Customizable Key code: Calculator key.

CustomizableKeycodeCalendar
Obsolete.

Customizable Key code: Calendar key.

CustomizableKeycodeCamera
Obsolete.

Customizable Key code: Camera key.

CustomizableKeycodeContacts
Obsolete.

Customizable Key code: Contacts key.

CustomizableKeycodeDictate
Obsolete.

Customizable Key code: Dictate key.

CustomizableKeycodeEnvelope
Obsolete.

Customizable Key code: Envelope key.

CustomizableKeycodeExplorer
Obsolete.

Customizable Key code: Explorer key.

CustomizableKeycodeF1
Obsolete.

Customizable Key code: F1 key.

CustomizableKeycodeF10
Obsolete.

Customizable Key code: F10 key.

CustomizableKeycodeF11
Obsolete.

Customizable Key code: F11 key.

CustomizableKeycodeF12
Obsolete.

Customizable Key code: F12 key.

CustomizableKeycodeF13
Obsolete.

Customizable Key code: F13 key.

CustomizableKeycodeF14
Obsolete.

Customizable Key code: F14 key.

CustomizableKeycodeF15
Obsolete.

Customizable Key code: F15 key.

CustomizableKeycodeF16
Obsolete.

Customizable Key code: F16 key.

CustomizableKeycodeF17
Obsolete.

Customizable Key code: F17 key.

CustomizableKeycodeF18
Obsolete.

Customizable Key code: F18 key.

CustomizableKeycodeF19
Obsolete.

Customizable Key code: F19 key.

CustomizableKeycodeF2
Obsolete.

Customizable Key code: F2 key.

CustomizableKeycodeF20
Obsolete.

Customizable Key code: F20 key.

CustomizableKeycodeF21
Obsolete.

Customizable Key code: F21 key.

CustomizableKeycodeF22
Obsolete.

Customizable Key code: F22 key.

CustomizableKeycodeF23
Obsolete.

Customizable Key code: F23 key.

CustomizableKeycodeF24
Obsolete.

Customizable Key code: F24 key.

CustomizableKeycodeF3
Obsolete.

Customizable Key code: F3 key.

CustomizableKeycodeF4
Obsolete.

Customizable Key code: F4 key.

CustomizableKeycodeF5
Obsolete.

Customizable Key code: F5 key.

CustomizableKeycodeF6
Obsolete.

Customizable Key code: F6 key.

CustomizableKeycodeF7
Obsolete.

Customizable Key code: F7 key.

CustomizableKeycodeF8
Obsolete.

Customizable Key code: F8 key.

CustomizableKeycodeF9
Obsolete.

Customizable Key code: F9 key.

CustomizableKeycodeForward
Obsolete.

Customizable Key code: Forward key.

CustomizableKeycodeFullscreen
Obsolete.

Customizable Key code: Full Screen key.

CustomizableKeycodeMediaEject
Obsolete.

Customizable Key code: Eject key.

CustomizableKeycodeMediaNext
Obsolete.

Customizable Key code: Next Media key.

CustomizableKeycodeMediaPlayPause
Obsolete.

Customizable Key code: Play/Pause Media key.

CustomizableKeycodeMediaPrevious
Obsolete.

Customizable Key code: Previous Media key.

CustomizableKeycodeMediaStop
Obsolete.

Customizable Key code: Stop Media key.

CustomizableKeycodeMenu
Obsolete.

Customizable Key code: Menu key.

CustomizableKeycodeMoveHome
Obsolete.

Customizable Key code: Home key.

CustomizableKeycodeMusic
Obsolete.

Customizable Key code: Music key.

CustomizableKeycodeNew
Obsolete.

Customizable Key code: New key.

CustomizableKeycodeScreenshot
Obsolete.

Customizable Key code: Screenshot key.

CustomizableKeycodeSearch
Obsolete.

Customizable Key code: Search key.

CustomizableKeycodeSysrq
Obsolete.

Customizable Key code: System Request / Print Screen key.

CustomizableKeycodeVolumeDown
Obsolete.

Customizable Key code: Volume Down key.

CustomizableKeycodeVolumeMute
Obsolete.

Customizable Key code: Volume Mute key.

CustomizableKeycodeVolumeUp
Obsolete.

Customizable Key code: Volume Up key.

Properties

Name Description
Class

Returns the runtime class of this Object.

(Inherited from Object)
Handle

The handle to the underlying Android instance.

(Inherited from Object)
JniIdentityHashCode

Gets the identity hash code assigned to this Java peer by the interop runtime.

(Inherited from Object)
JniManagedPeerState (Inherited from JavaObject)
JniPeerMembers
KeyCode

Returns the key code associated with this trigger.

PeerReference

Gets the JNI object reference for this Java peer.

(Inherited from Object)
ThresholdClass (Inherited from CustomizationTrigger)
ThresholdType (Inherited from CustomizationTrigger)

Methods

Name Description
Clone()

Creates and returns a copy of this object.

(Inherited from Object)
Construct(JniObjectReference, JniObjectReferenceOptions) (Inherited from JavaObject)
Dispose()

Releases the resources held by this Java peer.

(Inherited from Object)
Dispose(Boolean)

Releases the resources held by this Java peer.

(Inherited from Object)
DisposeUnlessReferenced() (Inherited from JavaObject)
Equals(Object) (Inherited from JavaObject)
Equals(Object)

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

(Inherited from Object)
GetHashCode()

Returns a hash code value for the object.

(Inherited from Object)
JavaFinalize()
Obsolete.

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)
SetHandle(IntPtr, JniHandleOwnership)

Sets the Handle property.

(Inherited from Object)
SetPeerReference(JniObjectReference, JniObjectReferenceOptions) (Inherited from JavaObject)
ToArray<T>()

Creates a managed array from this Java array wrapper.

(Inherited from Object)
ToString()

Returns a string representation of the object.

(Inherited from Object)
UnregisterFromRuntime()

Unregisters this Java peer from the interop runtime.

(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

Name Description
IJavaPeerable.Disposed() (Inherited from JavaObject)
IJavaPeerable.Finalized() (Inherited from JavaObject)
IJavaPeerable.JniObjectReferenceControlBlock (Inherited from JavaObject)
IJavaPeerable.SetJniIdentityHashCode(Int32) (Inherited from JavaObject)
IJavaPeerable.SetJniManagedPeerState(JniManagedPeerStates) (Inherited from JavaObject)
IJavaPeerable.SetPeerReference(JniObjectReference) (Inherited from JavaObject)

Extension Methods

Name Description
GetJniTypeName(IJavaPeerable)

Gets the JNI name of the type of the instance self.

JavaAs<TResult>(IJavaPeerable)

Try to coerce self to type TResult, checking that the coercion is valid on the Java side.

JavaCast<TResult>(IJavaObject)

Performs an Android runtime-checked type conversion.

JavaCast<TResult>(IJavaObject)
TryJavaCast<TResult>(IJavaPeerable, TResult)

Try to coerce self to type TResult, checking that the coercion is valid on the Java side.

Applies to