Creates an object whose resolution involves the successful matching of the specified attribute.
SDKs
- iOS 11.0+
- Mac Catalyst 13.0+
- watchOS 4.0+
Framework
- Intents
Declaration
+ (instancetype)successWithResolvedAccountType:(INAccount Type)resolvedAccountType;
Parameters
resolvedValue
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 INAccount
object.
Discussion
Use this method to create a result object when you are able to resolve the account successfully to a recognizable value in your app.