// This file is generated. Edit android/platform/scripts/generate-style-code.js, then run `make android-style-code`. package com.mapbox.mapboxsdk.style.layers; import android.support.annotation.ColorInt; import android.support.annotation.Keep; import android.support.annotation.NonNull; import android.support.annotation.Nullable; import android.support.annotation.UiThread; import static com.mapbox.mapboxsdk.utils.ColorUtils.rgbaToColor; import com.google.gson.JsonArray; import com.mapbox.mapboxsdk.style.expressions.Expression; import com.mapbox.mapboxsdk.style.layers.TransitionOptions; /** * An icon or a text label. * * @see The online documentation */ @UiThread public class SymbolLayer extends Layer { /** * Creates a SymbolLayer. * * @param nativePtr pointer used by core */ @Keep SymbolLayer(long nativePtr) { super(nativePtr); } /** * Creates a SymbolLayer. * * @param layerId the id of the layer * @param sourceId the id of the source */ public SymbolLayer(String layerId, String sourceId) { super(); initialize(layerId, sourceId); } @Keep protected native void initialize(String layerId, String sourceId); /** * Set the source layer. * * @param sourceLayer the source layer to set */ public void setSourceLayer(String sourceLayer) { checkThread(); nativeSetSourceLayer(sourceLayer); } /** * Set the source Layer. * * @param sourceLayer the source layer to set * @return This */ public SymbolLayer withSourceLayer(String sourceLayer) { setSourceLayer(sourceLayer); return this; } /** * Get the source id. * * @return id of the source */ public String getSourceId() { checkThread(); return nativeGetSourceId(); } /** * Get the source layer. * * @return sourceLayer the source layer to get */ public String getSourceLayer() { checkThread(); return nativeGetSourceLayer(); } /** * Set a single expression filter. * * @param filter the expression filter to set */ public void setFilter(Expression filter) { checkThread(); nativeSetFilter(filter.toArray()); } /** * Set a single expression filter. * * @param filter the expression filter to set * @return This */ public SymbolLayer withFilter(Expression filter) { setFilter(filter); return this; } /** * Get a single expression filter. * * @return the expression filter to get */ @Nullable public Expression getFilter() { checkThread(); Expression expression = null; JsonArray array = (JsonArray) nativeGetFilter(); if (array != null) { expression = Expression.Converter.convert(array); } return expression; } /** * Set a property or properties. * * @param properties the var-args properties * @return This */ public SymbolLayer withProperties(@NonNull PropertyValue... properties) { setProperties(properties); return this; } // Property getters /** * Get the SymbolPlacement property * * @return property wrapper value around String */ @SuppressWarnings("unchecked") public PropertyValue getSymbolPlacement() { checkThread(); return (PropertyValue) new PropertyValue("symbol-placement", nativeGetSymbolPlacement()); } /** * Get the SymbolSpacing property * * @return property wrapper value around Float */ @SuppressWarnings("unchecked") public PropertyValue getSymbolSpacing() { checkThread(); return (PropertyValue) new PropertyValue("symbol-spacing", nativeGetSymbolSpacing()); } /** * Get the SymbolAvoidEdges property * * @return property wrapper value around Boolean */ @SuppressWarnings("unchecked") public PropertyValue getSymbolAvoidEdges() { checkThread(); return (PropertyValue) new PropertyValue("symbol-avoid-edges", nativeGetSymbolAvoidEdges()); } /** * Get the SymbolZOrder property * * @return property wrapper value around String */ @SuppressWarnings("unchecked") public PropertyValue getSymbolZOrder() { checkThread(); return (PropertyValue) new PropertyValue("symbol-z-order", nativeGetSymbolZOrder()); } /** * Get the IconAllowOverlap property * * @return property wrapper value around Boolean */ @SuppressWarnings("unchecked") public PropertyValue getIconAllowOverlap() { checkThread(); return (PropertyValue) new PropertyValue("icon-allow-overlap", nativeGetIconAllowOverlap()); } /** * Get the IconIgnorePlacement property * * @return property wrapper value around Boolean */ @SuppressWarnings("unchecked") public PropertyValue getIconIgnorePlacement() { checkThread(); return (PropertyValue) new PropertyValue("icon-ignore-placement", nativeGetIconIgnorePlacement()); } /** * Get the IconOptional property * * @return property wrapper value around Boolean */ @SuppressWarnings("unchecked") public PropertyValue getIconOptional() { checkThread(); return (PropertyValue) new PropertyValue("icon-optional", nativeGetIconOptional()); } /** * Get the IconRotationAlignment property * * @return property wrapper value around String */ @SuppressWarnings("unchecked") public PropertyValue getIconRotationAlignment() { checkThread(); return (PropertyValue) new PropertyValue("icon-rotation-alignment", nativeGetIconRotationAlignment()); } /** * Get the IconSize property * * @return property wrapper value around Float */ @SuppressWarnings("unchecked") public PropertyValue getIconSize() { checkThread(); return (PropertyValue) new PropertyValue("icon-size", nativeGetIconSize()); } /** * Get the IconTextFit property * * @return property wrapper value around String */ @SuppressWarnings("unchecked") public PropertyValue getIconTextFit() { checkThread(); return (PropertyValue) new PropertyValue("icon-text-fit", nativeGetIconTextFit()); } /** * Get the IconTextFitPadding property * * @return property wrapper value around Float[] */ @SuppressWarnings("unchecked") public PropertyValue getIconTextFitPadding() { checkThread(); return (PropertyValue) new PropertyValue("icon-text-fit-padding", nativeGetIconTextFitPadding()); } /** * Get the IconImage property * * @return property wrapper value around String */ @SuppressWarnings("unchecked") public PropertyValue getIconImage() { checkThread(); return (PropertyValue) new PropertyValue("icon-image", nativeGetIconImage()); } /** * Get the IconRotate property * * @return property wrapper value around Float */ @SuppressWarnings("unchecked") public PropertyValue getIconRotate() { checkThread(); return (PropertyValue) new PropertyValue("icon-rotate", nativeGetIconRotate()); } /** * Get the IconPadding property * * @return property wrapper value around Float */ @SuppressWarnings("unchecked") public PropertyValue getIconPadding() { checkThread(); return (PropertyValue) new PropertyValue("icon-padding", nativeGetIconPadding()); } /** * Get the IconKeepUpright property * * @return property wrapper value around Boolean */ @SuppressWarnings("unchecked") public PropertyValue getIconKeepUpright() { checkThread(); return (PropertyValue) new PropertyValue("icon-keep-upright", nativeGetIconKeepUpright()); } /** * Get the IconOffset property * * @return property wrapper value around Float[] */ @SuppressWarnings("unchecked") public PropertyValue getIconOffset() { checkThread(); return (PropertyValue) new PropertyValue("icon-offset", nativeGetIconOffset()); } /** * Get the IconAnchor property * * @return property wrapper value around String */ @SuppressWarnings("unchecked") public PropertyValue getIconAnchor() { checkThread(); return (PropertyValue) new PropertyValue("icon-anchor", nativeGetIconAnchor()); } /** * Get the IconPitchAlignment property * * @return property wrapper value around String */ @SuppressWarnings("unchecked") public PropertyValue getIconPitchAlignment() { checkThread(); return (PropertyValue) new PropertyValue("icon-pitch-alignment", nativeGetIconPitchAlignment()); } /** * Get the TextPitchAlignment property * * @return property wrapper value around String */ @SuppressWarnings("unchecked") public PropertyValue getTextPitchAlignment() { checkThread(); return (PropertyValue) new PropertyValue("text-pitch-alignment", nativeGetTextPitchAlignment()); } /** * Get the TextRotationAlignment property * * @return property wrapper value around String */ @SuppressWarnings("unchecked") public PropertyValue getTextRotationAlignment() { checkThread(); return (PropertyValue) new PropertyValue("text-rotation-alignment", nativeGetTextRotationAlignment()); } /** * Get the TextField property * * @return property wrapper value around String */ @SuppressWarnings("unchecked") public PropertyValue getTextField() { checkThread(); return (PropertyValue) new PropertyValue("text-field", nativeGetTextField()); } /** * Get the TextFont property * * @return property wrapper value around String[] */ @SuppressWarnings("unchecked") public PropertyValue getTextFont() { checkThread(); return (PropertyValue) new PropertyValue("text-font", nativeGetTextFont()); } /** * Get the TextSize property * * @return property wrapper value around Float */ @SuppressWarnings("unchecked") public PropertyValue getTextSize() { checkThread(); return (PropertyValue) new PropertyValue("text-size", nativeGetTextSize()); } /** * Get the TextMaxWidth property * * @return property wrapper value around Float */ @SuppressWarnings("unchecked") public PropertyValue getTextMaxWidth() { checkThread(); return (PropertyValue) new PropertyValue("text-max-width", nativeGetTextMaxWidth()); } /** * Get the TextLineHeight property * * @return property wrapper value around Float */ @SuppressWarnings("unchecked") public PropertyValue getTextLineHeight() { checkThread(); return (PropertyValue) new PropertyValue("text-line-height", nativeGetTextLineHeight()); } /** * Get the TextLetterSpacing property * * @return property wrapper value around Float */ @SuppressWarnings("unchecked") public PropertyValue getTextLetterSpacing() { checkThread(); return (PropertyValue) new PropertyValue("text-letter-spacing", nativeGetTextLetterSpacing()); } /** * Get the TextJustify property * * @return property wrapper value around String */ @SuppressWarnings("unchecked") public PropertyValue getTextJustify() { checkThread(); return (PropertyValue) new PropertyValue("text-justify", nativeGetTextJustify()); } /** * Get the TextAnchor property * * @return property wrapper value around String */ @SuppressWarnings("unchecked") public PropertyValue getTextAnchor() { checkThread(); return (PropertyValue) new PropertyValue("text-anchor", nativeGetTextAnchor()); } /** * Get the TextMaxAngle property * * @return property wrapper value around Float */ @SuppressWarnings("unchecked") public PropertyValue getTextMaxAngle() { checkThread(); return (PropertyValue) new PropertyValue("text-max-angle", nativeGetTextMaxAngle()); } /** * Get the TextRotate property * * @return property wrapper value around Float */ @SuppressWarnings("unchecked") public PropertyValue getTextRotate() { checkThread(); return (PropertyValue) new PropertyValue("text-rotate", nativeGetTextRotate()); } /** * Get the TextPadding property * * @return property wrapper value around Float */ @SuppressWarnings("unchecked") public PropertyValue getTextPadding() { checkThread(); return (PropertyValue) new PropertyValue("text-padding", nativeGetTextPadding()); } /** * Get the TextKeepUpright property * * @return property wrapper value around Boolean */ @SuppressWarnings("unchecked") public PropertyValue getTextKeepUpright() { checkThread(); return (PropertyValue) new PropertyValue("text-keep-upright", nativeGetTextKeepUpright()); } /** * Get the TextTransform property * * @return property wrapper value around String */ @SuppressWarnings("unchecked") public PropertyValue getTextTransform() { checkThread(); return (PropertyValue) new PropertyValue("text-transform", nativeGetTextTransform()); } /** * Get the TextOffset property * * @return property wrapper value around Float[] */ @SuppressWarnings("unchecked") public PropertyValue getTextOffset() { checkThread(); return (PropertyValue) new PropertyValue("text-offset", nativeGetTextOffset()); } /** * Get the TextAllowOverlap property * * @return property wrapper value around Boolean */ @SuppressWarnings("unchecked") public PropertyValue getTextAllowOverlap() { checkThread(); return (PropertyValue) new PropertyValue("text-allow-overlap", nativeGetTextAllowOverlap()); } /** * Get the TextIgnorePlacement property * * @return property wrapper value around Boolean */ @SuppressWarnings("unchecked") public PropertyValue getTextIgnorePlacement() { checkThread(); return (PropertyValue) new PropertyValue("text-ignore-placement", nativeGetTextIgnorePlacement()); } /** * Get the TextOptional property * * @return property wrapper value around Boolean */ @SuppressWarnings("unchecked") public PropertyValue getTextOptional() { checkThread(); return (PropertyValue) new PropertyValue("text-optional", nativeGetTextOptional()); } /** * Get the IconOpacity property * * @return property wrapper value around Float */ @SuppressWarnings("unchecked") public PropertyValue getIconOpacity() { checkThread(); return (PropertyValue) new PropertyValue("icon-opacity", nativeGetIconOpacity()); } /** * Get the IconOpacity property transition options * * @return transition options for Float */ public TransitionOptions getIconOpacityTransition() { checkThread(); return nativeGetIconOpacityTransition(); } /** * Set the IconOpacity property transition options * * @param options transition options for Float */ public void setIconOpacityTransition(TransitionOptions options) { checkThread(); nativeSetIconOpacityTransition(options.getDuration(), options.getDelay()); } /** * Get the IconColor property * * @return property wrapper value around String */ @SuppressWarnings("unchecked") public PropertyValue getIconColor() { checkThread(); return (PropertyValue) new PropertyValue("icon-color", nativeGetIconColor()); } /** * The color of the icon. This can only be used with sdf icons. * * @return int representation of a rgba string color * @throws RuntimeException thrown if property isn't a value */ @ColorInt public int getIconColorAsInt() { checkThread(); PropertyValue value = getIconColor(); if (value.isValue()) { return rgbaToColor(value.getValue()); } else { throw new RuntimeException("icon-color was set as a Function"); } } /** * Get the IconColor property transition options * * @return transition options for String */ public TransitionOptions getIconColorTransition() { checkThread(); return nativeGetIconColorTransition(); } /** * Set the IconColor property transition options * * @param options transition options for String */ public void setIconColorTransition(TransitionOptions options) { checkThread(); nativeSetIconColorTransition(options.getDuration(), options.getDelay()); } /** * Get the IconHaloColor property * * @return property wrapper value around String */ @SuppressWarnings("unchecked") public PropertyValue getIconHaloColor() { checkThread(); return (PropertyValue) new PropertyValue("icon-halo-color", nativeGetIconHaloColor()); } /** * The color of the icon's halo. Icon halos can only be used with SDF icons. * * @return int representation of a rgba string color * @throws RuntimeException thrown if property isn't a value */ @ColorInt public int getIconHaloColorAsInt() { checkThread(); PropertyValue value = getIconHaloColor(); if (value.isValue()) { return rgbaToColor(value.getValue()); } else { throw new RuntimeException("icon-halo-color was set as a Function"); } } /** * Get the IconHaloColor property transition options * * @return transition options for String */ public TransitionOptions getIconHaloColorTransition() { checkThread(); return nativeGetIconHaloColorTransition(); } /** * Set the IconHaloColor property transition options * * @param options transition options for String */ public void setIconHaloColorTransition(TransitionOptions options) { checkThread(); nativeSetIconHaloColorTransition(options.getDuration(), options.getDelay()); } /** * Get the IconHaloWidth property * * @return property wrapper value around Float */ @SuppressWarnings("unchecked") public PropertyValue getIconHaloWidth() { checkThread(); return (PropertyValue) new PropertyValue("icon-halo-width", nativeGetIconHaloWidth()); } /** * Get the IconHaloWidth property transition options * * @return transition options for Float */ public TransitionOptions getIconHaloWidthTransition() { checkThread(); return nativeGetIconHaloWidthTransition(); } /** * Set the IconHaloWidth property transition options * * @param options transition options for Float */ public void setIconHaloWidthTransition(TransitionOptions options) { checkThread(); nativeSetIconHaloWidthTransition(options.getDuration(), options.getDelay()); } /** * Get the IconHaloBlur property * * @return property wrapper value around Float */ @SuppressWarnings("unchecked") public PropertyValue getIconHaloBlur() { checkThread(); return (PropertyValue) new PropertyValue("icon-halo-blur", nativeGetIconHaloBlur()); } /** * Get the IconHaloBlur property transition options * * @return transition options for Float */ public TransitionOptions getIconHaloBlurTransition() { checkThread(); return nativeGetIconHaloBlurTransition(); } /** * Set the IconHaloBlur property transition options * * @param options transition options for Float */ public void setIconHaloBlurTransition(TransitionOptions options) { checkThread(); nativeSetIconHaloBlurTransition(options.getDuration(), options.getDelay()); } /** * Get the IconTranslate property * * @return property wrapper value around Float[] */ @SuppressWarnings("unchecked") public PropertyValue getIconTranslate() { checkThread(); return (PropertyValue) new PropertyValue("icon-translate", nativeGetIconTranslate()); } /** * Get the IconTranslate property transition options * * @return transition options for Float[] */ public TransitionOptions getIconTranslateTransition() { checkThread(); return nativeGetIconTranslateTransition(); } /** * Set the IconTranslate property transition options * * @param options transition options for Float[] */ public void setIconTranslateTransition(TransitionOptions options) { checkThread(); nativeSetIconTranslateTransition(options.getDuration(), options.getDelay()); } /** * Get the IconTranslateAnchor property * * @return property wrapper value around String */ @SuppressWarnings("unchecked") public PropertyValue getIconTranslateAnchor() { checkThread(); return (PropertyValue) new PropertyValue("icon-translate-anchor", nativeGetIconTranslateAnchor()); } /** * Get the TextOpacity property * * @return property wrapper value around Float */ @SuppressWarnings("unchecked") public PropertyValue getTextOpacity() { checkThread(); return (PropertyValue) new PropertyValue("text-opacity", nativeGetTextOpacity()); } /** * Get the TextOpacity property transition options * * @return transition options for Float */ public TransitionOptions getTextOpacityTransition() { checkThread(); return nativeGetTextOpacityTransition(); } /** * Set the TextOpacity property transition options * * @param options transition options for Float */ public void setTextOpacityTransition(TransitionOptions options) { checkThread(); nativeSetTextOpacityTransition(options.getDuration(), options.getDelay()); } /** * Get the TextColor property * * @return property wrapper value around String */ @SuppressWarnings("unchecked") public PropertyValue getTextColor() { checkThread(); return (PropertyValue) new PropertyValue("text-color", nativeGetTextColor()); } /** * The color with which the text will be drawn. * * @return int representation of a rgba string color * @throws RuntimeException thrown if property isn't a value */ @ColorInt public int getTextColorAsInt() { checkThread(); PropertyValue value = getTextColor(); if (value.isValue()) { return rgbaToColor(value.getValue()); } else { throw new RuntimeException("text-color was set as a Function"); } } /** * Get the TextColor property transition options * * @return transition options for String */ public TransitionOptions getTextColorTransition() { checkThread(); return nativeGetTextColorTransition(); } /** * Set the TextColor property transition options * * @param options transition options for String */ public void setTextColorTransition(TransitionOptions options) { checkThread(); nativeSetTextColorTransition(options.getDuration(), options.getDelay()); } /** * Get the TextHaloColor property * * @return property wrapper value around String */ @SuppressWarnings("unchecked") public PropertyValue getTextHaloColor() { checkThread(); return (PropertyValue) new PropertyValue("text-halo-color", nativeGetTextHaloColor()); } /** * The color of the text's halo, which helps it stand out from backgrounds. * * @return int representation of a rgba string color * @throws RuntimeException thrown if property isn't a value */ @ColorInt public int getTextHaloColorAsInt() { checkThread(); PropertyValue value = getTextHaloColor(); if (value.isValue()) { return rgbaToColor(value.getValue()); } else { throw new RuntimeException("text-halo-color was set as a Function"); } } /** * Get the TextHaloColor property transition options * * @return transition options for String */ public TransitionOptions getTextHaloColorTransition() { checkThread(); return nativeGetTextHaloColorTransition(); } /** * Set the TextHaloColor property transition options * * @param options transition options for String */ public void setTextHaloColorTransition(TransitionOptions options) { checkThread(); nativeSetTextHaloColorTransition(options.getDuration(), options.getDelay()); } /** * Get the TextHaloWidth property * * @return property wrapper value around Float */ @SuppressWarnings("unchecked") public PropertyValue getTextHaloWidth() { checkThread(); return (PropertyValue) new PropertyValue("text-halo-width", nativeGetTextHaloWidth()); } /** * Get the TextHaloWidth property transition options * * @return transition options for Float */ public TransitionOptions getTextHaloWidthTransition() { checkThread(); return nativeGetTextHaloWidthTransition(); } /** * Set the TextHaloWidth property transition options * * @param options transition options for Float */ public void setTextHaloWidthTransition(TransitionOptions options) { checkThread(); nativeSetTextHaloWidthTransition(options.getDuration(), options.getDelay()); } /** * Get the TextHaloBlur property * * @return property wrapper value around Float */ @SuppressWarnings("unchecked") public PropertyValue getTextHaloBlur() { checkThread(); return (PropertyValue) new PropertyValue("text-halo-blur", nativeGetTextHaloBlur()); } /** * Get the TextHaloBlur property transition options * * @return transition options for Float */ public TransitionOptions getTextHaloBlurTransition() { checkThread(); return nativeGetTextHaloBlurTransition(); } /** * Set the TextHaloBlur property transition options * * @param options transition options for Float */ public void setTextHaloBlurTransition(TransitionOptions options) { checkThread(); nativeSetTextHaloBlurTransition(options.getDuration(), options.getDelay()); } /** * Get the TextTranslate property * * @return property wrapper value around Float[] */ @SuppressWarnings("unchecked") public PropertyValue getTextTranslate() { checkThread(); return (PropertyValue) new PropertyValue("text-translate", nativeGetTextTranslate()); } /** * Get the TextTranslate property transition options * * @return transition options for Float[] */ public TransitionOptions getTextTranslateTransition() { checkThread(); return nativeGetTextTranslateTransition(); } /** * Set the TextTranslate property transition options * * @param options transition options for Float[] */ public void setTextTranslateTransition(TransitionOptions options) { checkThread(); nativeSetTextTranslateTransition(options.getDuration(), options.getDelay()); } /** * Get the TextTranslateAnchor property * * @return property wrapper value around String */ @SuppressWarnings("unchecked") public PropertyValue getTextTranslateAnchor() { checkThread(); return (PropertyValue) new PropertyValue("text-translate-anchor", nativeGetTextTranslateAnchor()); } @Keep private native Object nativeGetSymbolPlacement(); @Keep private native Object nativeGetSymbolSpacing(); @Keep private native Object nativeGetSymbolAvoidEdges(); @Keep private native Object nativeGetSymbolZOrder(); @Keep private native Object nativeGetIconAllowOverlap(); @Keep private native Object nativeGetIconIgnorePlacement(); @Keep private native Object nativeGetIconOptional(); @Keep private native Object nativeGetIconRotationAlignment(); @Keep private native Object nativeGetIconSize(); @Keep private native Object nativeGetIconTextFit(); @Keep private native Object nativeGetIconTextFitPadding(); @Keep private native Object nativeGetIconImage(); @Keep private native Object nativeGetIconRotate(); @Keep private native Object nativeGetIconPadding(); @Keep private native Object nativeGetIconKeepUpright(); @Keep private native Object nativeGetIconOffset(); @Keep private native Object nativeGetIconAnchor(); @Keep private native Object nativeGetIconPitchAlignment(); @Keep private native Object nativeGetTextPitchAlignment(); @Keep private native Object nativeGetTextRotationAlignment(); @Keep private native Object nativeGetTextField(); @Keep private native Object nativeGetTextFont(); @Keep private native Object nativeGetTextSize(); @Keep private native Object nativeGetTextMaxWidth(); @Keep private native Object nativeGetTextLineHeight(); @Keep private native Object nativeGetTextLetterSpacing(); @Keep private native Object nativeGetTextJustify(); @Keep private native Object nativeGetTextAnchor(); @Keep private native Object nativeGetTextMaxAngle(); @Keep private native Object nativeGetTextRotate(); @Keep private native Object nativeGetTextPadding(); @Keep private native Object nativeGetTextKeepUpright(); @Keep private native Object nativeGetTextTransform(); @Keep private native Object nativeGetTextOffset(); @Keep private native Object nativeGetTextAllowOverlap(); @Keep private native Object nativeGetTextIgnorePlacement(); @Keep private native Object nativeGetTextOptional(); @Keep private native Object nativeGetIconOpacity(); @Keep private native TransitionOptions nativeGetIconOpacityTransition(); @Keep private native void nativeSetIconOpacityTransition(long duration, long delay); @Keep private native Object nativeGetIconColor(); @Keep private native TransitionOptions nativeGetIconColorTransition(); @Keep private native void nativeSetIconColorTransition(long duration, long delay); @Keep private native Object nativeGetIconHaloColor(); @Keep private native TransitionOptions nativeGetIconHaloColorTransition(); @Keep private native void nativeSetIconHaloColorTransition(long duration, long delay); @Keep private native Object nativeGetIconHaloWidth(); @Keep private native TransitionOptions nativeGetIconHaloWidthTransition(); @Keep private native void nativeSetIconHaloWidthTransition(long duration, long delay); @Keep private native Object nativeGetIconHaloBlur(); @Keep private native TransitionOptions nativeGetIconHaloBlurTransition(); @Keep private native void nativeSetIconHaloBlurTransition(long duration, long delay); @Keep private native Object nativeGetIconTranslate(); @Keep private native TransitionOptions nativeGetIconTranslateTransition(); @Keep private native void nativeSetIconTranslateTransition(long duration, long delay); @Keep private native Object nativeGetIconTranslateAnchor(); @Keep private native Object nativeGetTextOpacity(); @Keep private native TransitionOptions nativeGetTextOpacityTransition(); @Keep private native void nativeSetTextOpacityTransition(long duration, long delay); @Keep private native Object nativeGetTextColor(); @Keep private native TransitionOptions nativeGetTextColorTransition(); @Keep private native void nativeSetTextColorTransition(long duration, long delay); @Keep private native Object nativeGetTextHaloColor(); @Keep private native TransitionOptions nativeGetTextHaloColorTransition(); @Keep private native void nativeSetTextHaloColorTransition(long duration, long delay); @Keep private native Object nativeGetTextHaloWidth(); @Keep private native TransitionOptions nativeGetTextHaloWidthTransition(); @Keep private native void nativeSetTextHaloWidthTransition(long duration, long delay); @Keep private native Object nativeGetTextHaloBlur(); @Keep private native TransitionOptions nativeGetTextHaloBlurTransition(); @Keep private native void nativeSetTextHaloBlurTransition(long duration, long delay); @Keep private native Object nativeGetTextTranslate(); @Keep private native TransitionOptions nativeGetTextTranslateTransition(); @Keep private native void nativeSetTextTranslateTransition(long duration, long delay); @Keep private native Object nativeGetTextTranslateAnchor(); @Override @Keep protected native void finalize() throws Throwable; }