granularity
TypeScriptget granularity(): ElectricityInsightQuery_GranularitySwift declarationlet granularity: ElectricityInsightQuery.GranularityThe temporal granularity for returned electricity insight records.
struct · iOS 26.0+ · SDK 27.1
struct ElectricityInsightQueryA structure describing a query that you use to obtain environmental impact information in the form of electricity insight records.
get granularity(): ElectricityInsightQuery_GranularitySwift declarationlet granularity: ElectricityInsightQuery.GranularityThe temporal granularity for returned electricity insight records.
get flowDirection(): ElectricityFlowDirectionSwift declarationlet flowDirection: ElectricityFlowDirectionA property that specifies whether the response contains imported or exported energy.
get range(): _Foundation_DateIntervalSwift declarationlet range: DateIntervalThe requested date range.
static init(options: ElectricityInsightQuery_Options, range: _Foundation_DateInterval, granularity: ElectricityInsightQuery_Granularity, flowDirection: ElectricityFlowDirection): ElectricityInsightQuerySwift declarationinit(options: ElectricityInsightQuery.Options, range: DateInterval, granularity: ElectricityInsightQuery.Granularity, flowDirection: ElectricityFlowDirection)Creates an electricity insight query request. - Parameters: - options: The optional information included when the system returns electricity insight records. - range: The requested date range. - granularity: The temporal granularity for returned electricity insight records. - flowDirection: The direction of the flow of electricity.
get options(): ElectricityInsightQuery_OptionsSwift declarationlet options: ElectricityInsightQuery.OptionsThe optional information to include in returned electricity insight records.
No declarations were skipped in this snapshot.