<!--
{
  "availability" : [
    "iOS: 12.0.0 -",
    "iPadOS: 12.0.0 -",
    "macCatalyst: 13.1.0 -",
    "tvOS: 14.0.0 -",
    "visionOS: 1.0.0 -",
    "watchOS: 5.0.0 -"
  ],
  "documentType" : "symbol",
  "framework" : "SiriKit",
  "identifier" : "/documentation/Intents/INPlaybackRepeatModeResolutionResult/success(with:)",
  "metadataVersion" : "0.1.0",
  "role" : "Type Method",
  "symbol" : {
    "kind" : "Type Method",
    "modules" : [
      "Intents"
    ],
    "preciseIdentifier" : "c:objc(cs)INPlaybackRepeatModeResolutionResult(cm)successWithResolvedPlaybackRepeatMode:"
  },
  "title" : "success(with:)"
}
-->

# success(with:)

Creates an object whose resolution involves successfully matching the specified parameter.

```
class func success(with resolvedPlaybackRepeatMode: INPlaybackRepeatMode) -> Self
```

## Parameters

`resolvedPlaybackRepeatMode`

The value that resolves the requested parameter of the intent. This value may be different than the one specified in the intent object.

## Return Value

A new [`INPlaybackRepeatModeResolutionResult`](/documentation/Intents/INPlaybackRepeatModeResolutionResult) object.

## Discussion

Use this method to create a result object when you’re able to change the plaback repeat mode for a media item.

---

Copyright &copy; 2026 Apple Inc. All rights reserved. | [Terms of Use](https://www.apple.com/legal/internet-services/terms/site.html) | [Privacy Policy](https://www.apple.com/privacy/privacy-policy)