Koleksiyonlar ile düzeninizi koruyun
İçeriği tercihlerinize göre kaydedin ve kategorilere ayırın.
blockly > Alan > getConstants
Field.getConstants() yöntemi
Oluşturucu sabit sağlayıcı sağlayıcısını alın.
İmza:
getConstants(): ConstantProvider | null;
Şunu döndürür:
ConstantProvider | boş
Oluşturucu sabit sağlayıcı.
Aksi belirtilmediği sürece bu sayfanın içeriği Creative Commons Atıf 4.0 Lisansı altında ve kod örnekleri Apache 2.0 Lisansı altında lisanslanmıştır. Ayrıntılı bilgi için Google Developers Site Politikaları'na göz atın. Java, Oracle ve/veya satış ortaklarının tescilli ticari markasıdır.
Son güncelleme tarihi: 2024-10-11 UTC.
[[["Anlaması kolay","easyToUnderstand","thumb-up"],["Sorunumu çözdü","solvedMyProblem","thumb-up"],["Diğer","otherUp","thumb-up"]],[["İhtiyacım olan bilgiler yok","missingTheInformationINeed","thumb-down"],["Çok karmaşık / çok fazla adım var","tooComplicatedTooManySteps","thumb-down"],["Güncel değil","outOfDate","thumb-down"],["Çeviri sorunu","translationIssue","thumb-down"],["Örnek veya kod sorunu","samplesCodeIssue","thumb-down"],["Diğer","otherDown","thumb-down"]],["Son güncelleme tarihi: 2024-10-11 UTC."],[[["The `Field.getConstants()` method retrieves the renderer constant provider associated with the field."],["This method returns a `ConstantProvider` object if available, or `null` otherwise."]]],["The `Field.getConstants()` method retrieves the renderer constant provider. It returns either a `ConstantProvider` object, which contains rendering constants, or `null` if no provider is available. This method's signature indicates it does not accept any arguments. The primary action is retrieving the `ConstantProvider` instance for use in rendering processes.\n"]]