{ "$schema": "https://raw.githubusercontent.com/guitaripod/wwdc-sessions/master/schema/session.schema.json", "schemaVersion": 1, "id": "wwdc2026-379", "event": "wwdc2026", "eventName": "WWDC26", "year": 2026, "eventContentId": 379, "title": "Meet Trust Insights", "description": "Uncover how Trust Insights can help protect people from social scams and coercion. Explore how this new framework uses privacy-preserving machine learning to detect when someone may be coached into risky actions. Find out how to integrate Trust Insights into your app, interpret its signals, and design thoughtful interventions that safeguard people while respecting their privacy.", "url": "https://developer.apple.com/videos/play/wwdc2026/379", "sosumiURL": "https://sosumi.ai/videos/play/wwdc2026/379", "type": "Video", "publishedAt": "2026-06-08T14:00:00-07:00", "platforms": [ "iOS", "iPadOS" ], "keywords": [ "🎈" ], "topics": [ "Business & Education", "Privacy & Security" ], "primaryTopic": "Privacy & Security", "duration": 837, "hasTranscript": true, "transcriptWordCount": 1560, "availableLanguages": [ "eng", "fra", "jpn", "kor", "por", "spa", "zho" ], "media": { "hls": "https://devstreaming-cdn.apple.com/videos/wwdc/2026/379/4/e12c4703-5c00-44f7-a5f8-80f6e5b7ebd5/cmaf.m3u8", "downloadHLS": "https://devstreaming-cdn.apple.com/videos/wwdc/2026/379/4/e12c4703-5c00-44f7-a5f8-80f6e5b7ebd5/cmaf-download.m3u8", "downloadSD": "https://devstreaming-cdn.apple.com/videos/wwdc/2026/379/4/e12c4703-5c00-44f7-a5f8-80f6e5b7ebd5/downloads/wwdc2026-379_sd.mp4", "downloadHD": "https://devstreaming-cdn.apple.com/videos/wwdc/2026/379/4/e12c4703-5c00-44f7-a5f8-80f6e5b7ebd5/downloads/wwdc2026-379_hd.mp4", "duration": 837 }, "codeSnippets": [ { "title": "Generating insights", "language": "swift", "startTimeSeconds": 181, "code": "import TrustInsights\n\nlet request = IsLikelyBeingCoachedInsight.request(schema: .version1, modelVersion: .current)\nlet context = InsightEvaluator.InsightContext(operationCategory: .resourceUse,\n requestedEvaluations: request)\n\nlet evaluator = InsightEvaluator()\nguard try await evaluator.requestAuthorization(for: context) == .authorized else { return }\n\nlet assessment = try await evaluator.requestEvaluation(context: context)\ndo {\n try handleAssessment(assessment)\n} catch {\n // Handle error\n}\n\nassessment.reportConsumption(.usedIncreasedFriction)" }, { "title": "Handling results for IsLikelyBeingCoachedInsight", "language": "swift", "startTimeSeconds": 337, "code": "func handleAssessment(_ assessment: InsightEvaluation) throws {\n\tswitch try assessment.insight.outcome.get() {\n\t\tcase .unknown:\n\n\t\tcase .medium:\n\n\t\tcase .high:\n\n\t\t@unknown default:\n\n\t}\n}" }, { "title": "Real-time consumption feedback", "language": "swift", "startTimeSeconds": 425, "code": "import TrustInsights\n\nlet request = IsLikelyBeingCoachedInsight.request(schema: .version1, modelVersion: .current)\nlet context = InsightEvaluator.InsightContext(operationCategory: .resourceUse,\n requestedEvaluations: request)\n\nlet evaluator = InsightEvaluator()\nguard try await evaluator.requestAuthorization(for: context) == .authorized else { return }\n\nlet assessment = try await evaluator.requestEvaluation(context: context)\ndo {\n try handleAssessment(assessment)\n} catch {\n // Handle error\n}\n\nassessment.reportConsumption(.usedIncreasedFriction)" } ], "resources": [ { "title": "Trust Insights", "url": "https://developer.apple.com/documentation/TrustInsights", "type": "documentation", "description": "Evaluate transactions for potential coercive activity while preserving people’s privacy.", "sosumiURL": "https://sosumi.ai/documentation/TrustInsights", "doccJSON": "https://developer.apple.com/tutorials/data/documentation/TrustInsights.json" } ], "path": "sessions/wwdc2026/379-meet-trust-insights/", "files": { "metadata": "sessions/wwdc2026/379-meet-trust-insights/metadata.json", "readme": "sessions/wwdc2026/379-meet-trust-insights/README.md", "transcript": "sessions/wwdc2026/379-meet-trust-insights/transcript.md", "transcriptJSON": "sessions/wwdc2026/379-meet-trust-insights/transcript.json" } }