Protocol
ActionableInsightService
public protocol ActionableInsightService
Requirements
insights(completion:)
func insights(completion: @escaping (Result<[ActionableInsight], Error>) -> Void) -> RetryCancellable?
archivedInsights(completion:)
func archivedInsights(completion: @escaping (Result<[ActionableInsight], Error>) -> Void) -> RetryCancellable?
select(_:forInsightWithID:completion:)
func select(_ insightAction: ActionableInsight.InsightAction, forInsightWithID insightID: ActionableInsight.ID, completion: @escaping (Result<Void, Error>) -> Void) -> RetryCancellable?
selectAction(insightAction:insightID:completion:)
@available(*, deprecated, message: "Use select(_:forInsightWithID:completion:) method instead.") func selectAction(insightAction: String, insightID: ActionableInsight.ID, completion: @escaping (Result<Void, Error>) -> Void) -> RetryCancellable?
archive(id:completion:)
@available(*, deprecated, message: "Use select(_:forInsightWithID:completion:) method instead.") func archive(id: ActionableInsight.ID, completion: @escaping (Result<Void, Error>) -> Void) -> RetryCancellable?