---
metadata:
  - name: generator
    content: Diplodoc Platform v5.63.4
alternate:
  - https://appmetrica.yandex.com/docs/en/sdk/ios/analytics/objectivec/AMACustomCounterAttribute.md
  - https://appmetrica.yandex.com/docs/ru/sdk/ios/analytics/objectivec/AMACustomCounterAttribute.md
  - https://appmetrica.yandex.com/docs/zh/sdk/ios/analytics/objectivec/AMACustomCounterAttribute.md
  - href: https://appmetrica.yandex.com/docs/zh/sdk/ios/analytics/objectivec/AMACustomCounterAttribute.md
    type: text/markdown
    title: Markdown version
  - href: https://appmetrica.yandex.com/docs/zh/llms.txt?revision=r21698989
    rel: describedby
---
> **Documentation Index:** Fetch the complete configuration index at https://appmetrica.yandex.com/docs/zh/llms.txt?revision=r21698989

# AMACustomCounterAttribute 协议

该协议定义了更新标签类型属性值的方法。

## Instance methods {#instance_summary}

#|
|| -[withDelta:](#method_withDelta) | 用指定的增量值更新属性值。 ||
|#

## Method descriptions {#method_detail}

### -withDelta: {#method_withDelta}

```objectivec translate=no
- (AMAUserProfileUpdate *)withDelta:(double)value
```

用指定的增量值更新属性值。

**参数：**

#|
|| `value` | 要将属性值更改为的差值。 ||
|#

**返回：**

The `AMAUserProfileUpdate` 类实例。
