One Logo Pool Ball
Additional SDK Modules · IOS API REFERENCE

_DeviceActivity_SwiftUI

Explore _DeviceActivity_SwiftUI types and the APIs available through One's generated iOS bindings.

11 types

12 callable entries

24 skipped

33% entry coverage

Generated from iOS SDK 27.1. Availability is shown on each declaration; permissions and entitlements still apply.

Types

Functions and constants

get · iOS 16.0+

activitySegments

TypeScript
get activitySegments(): DeviceActivityResults<_DeviceActivity_DeviceActivityData_ActivitySegment>
Swift declaration
var activitySegments: DeviceActivityResults<DeviceActivityData.ActivitySegment> { get }

The activity of the user divided into segments. The length of each activity segment is dependent on the ``segmentInterval`` that your app requests via a ``DeviceActivityFilter``.

get · iOS 16.0+

webDomains

TypeScript
get webDomains(): DeviceActivityResults<_DeviceActivity_DeviceActivityData_WebDomainActivity>
Swift declaration
var webDomains: DeviceActivityResults<DeviceActivityData.WebDomainActivity> { get }

The user's web domain activity that contributed to this category's ``totalActivityDuration``.

get · iOS 16.0+

applications

TypeScript
get applications(): DeviceActivityResults<_DeviceActivity_DeviceActivityData_ApplicationActivity>
Swift declaration
var applications: DeviceActivityResults<DeviceActivityData.ApplicationActivity> { get }

The user's application activity that contributed to this category's ``totalActivityDuration``.

get · iOS 16.0+

categories

TypeScript
get categories(): DeviceActivityResults<_DeviceActivity_DeviceActivityData_CategoryActivity>
Swift declaration
var categories: DeviceActivityResults<DeviceActivityData.CategoryActivity> { get }

The user's categorized device activity during the activity segment.

method · iOS 16.0+

makeAsyncIterator

TypeScript
makeAsyncIterator(): DeviceActivityResults_Iterator<unknown, unknown>
Swift declaration
func makeAsyncIterator() -> DeviceActivityResults<Element>.Iterator<Element>

Creates the asynchronous iterator that produces elements of this asynchronous sequence.

method · iOS 16.0+

next

TypeScript
next(): Promise<(unknown) | null>
Swift declaration
func next() async -> IteratorElement?

Asynchronously advances to the next element and returns it, or ends the sequence if there is no next element.

Skipped declarations

24 declarations were excluded from these bindings. Each reason comes from the generator or the iOS SDK compiler.

DeviceActivityReport.body

This protocol needs associated types that cannot yet cross the bridge.

DeviceActivityReportBuilder.buildBlock(_:)

This declaration needs Swift generic type arguments. (no canonical witness for Scene)

DeviceActivityReportBuilder.buildBlock(_:_:)

This declaration needs Swift generic type arguments. (no canonical witness for S0)

DeviceActivityReportBuilder.buildBlock(_:_:_:)

This declaration needs Swift generic type arguments. (no canonical witness for S0)

DeviceActivityReportBuilder.buildBlock(_:_:_:_:)

This declaration needs Swift generic type arguments. (no canonical witness for S0)

DeviceActivityReportBuilder.buildBlock(_:_:_:_:_:)

This declaration needs Swift generic type arguments. (no canonical witness for S0)

DeviceActivityReportBuilder.buildBlock(_:_:_:_:_:_:)

This declaration needs Swift generic type arguments. (no canonical witness for S0)

DeviceActivityReportBuilder.buildBlock(_:_:_:_:_:_:_:)

This declaration needs Swift generic type arguments. (no canonical witness for S0)

DeviceActivityReportBuilder.buildBlock(_:_:_:_:_:_:_:_:)

This declaration needs Swift generic type arguments. (no canonical witness for S0)

DeviceActivityReportBuilder.buildBlock(_:_:_:_:_:_:_:_:_:)

This declaration needs Swift generic type arguments. (no canonical witness for S0)

DeviceActivityReportBuilder.buildBlock(_:_:_:_:_:_:_:_:_:_:)

This declaration needs Swift generic type arguments. (no canonical witness for S0)

DeviceActivityReportBuilder.buildBlock(_:_:_:_:_:_:_:_:_:_:_:)

This declaration needs Swift generic type arguments. (no canonical witness for S0)

DeviceActivityReportBuilder.buildBlock(_:_:_:_:_:_:_:_:_:_:_:_:)

This declaration needs Swift generic type arguments. (no canonical witness for S0)

DeviceActivityReportBuilder.buildBlock(_:_:_:_:_:_:_:_:_:_:_:_:_:)

This declaration needs Swift generic type arguments. (no canonical witness for S0)

DeviceActivityReportBuilder.buildBlock(_:_:_:_:_:_:_:_:_:_:_:_:_:_:)

This declaration needs Swift generic type arguments. (no canonical witness for S0)

DeviceActivityReportBuilder.buildBlock(_:_:_:_:_:_:_:_:_:_:_:_:_:_:_:)

This declaration needs Swift generic type arguments. (no canonical witness for S0)

DeviceActivityReportBuilder.buildBlock(_:_:_:_:_:_:_:_:_:_:_:_:_:_:_:_:)

This declaration needs Swift generic type arguments. (no canonical witness for S0)

DeviceActivityReportBuilder.buildBlock(_:_:_:_:_:_:_:_:_:_:_:_:_:_:_:_:_:)

This declaration needs Swift generic type arguments. (no canonical witness for S0)

DeviceActivityReportBuilder.buildBlock(_:_:_:_:_:_:_:_:_:_:_:_:_:_:_:_:_:_:)

This declaration needs Swift generic type arguments. (no canonical witness for S0)

DeviceActivityReportBuilder.buildBlock(_:_:_:_:_:_:_:_:_:_:_:_:_:_:_:_:_:_:_:)

This declaration needs Swift generic type arguments. (no canonical witness for S0)

DeviceActivityReportBuilder.buildBlock(_:_:_:_:_:_:_:_:_:_:_:_:_:_:_:_:_:_:_:_:)

This declaration needs Swift generic type arguments. (no canonical witness for S0)

DeviceActivityReportScene.body

This protocol needs associated types that cannot yet cross the bridge.

protocol implementation DeviceActivityReportExtension

This protocol needs associated types that cannot yet cross the bridge.

protocol implementation DeviceActivityReportScene

This protocol needs associated types that cannot yet cross the bridge.