---
title: "initWithIdentifier:dateCreated:callRecordType:callCapability:callDuration:unseen:"
framework: intents
role: symbol
role_heading: Instance Method
path: "intents/incallrecord/initwithidentifier:datecreated:callrecordtype:callcapability:callduration:unseen:"
---

# initWithIdentifier:dateCreated:callRecordType:callCapability:callDuration:unseen:

Creates a call record with the details about the call.

## Declaration

```occ
- (instancetype) initWithIdentifier:(NSString *) identifier dateCreated:(NSDate *) dateCreated callRecordType:(INCallRecordType) callRecordType callCapability:(INCallCapability) callCapability callDuration:(NSNumber *) callDuration unseen:(NSNumber *) unseen;
```

## Parameters

- `identifier`: A unique string that you can use to identify the call in your app.
- `dateCreated`: The date and time at which the call started.
- `callRecordType`: The type of call. Use this parameter to specify whether the call was incoming, was outgoing, corresponds to a voicemail, and so on.
- `callCapability`: An indicator of whether the call supports audio or video.
- `callDuration`: The duration of the call, measured in seconds.
- `unseen`: A Boolean indicating whether the user saw the call.

## Return Value

Return Value An initialized INCallRecord object or nil if the object could not be initialized.

## See Also

### Initializing a Call Record

- [initWithIdentifier:dateCreated:caller:callRecordType:callCapability:callDuration:unseen:numberOfCalls:](intents/incallrecord/initwithidentifier:datecreated:caller:callrecordtype:callcapability:callduration:unseen:numberofcalls:.md)
- [initWithIdentifier:dateCreated:caller:callRecordType:callCapability:callDuration:unseen:](intents/incallrecord/initwithidentifier:datecreated:caller:callrecordtype:callcapability:callduration:unseen:.md)
- [initWithIdentifier:dateCreated:callRecordType:callCapability:callDuration:unseen:numberOfCalls:](intents/incallrecord/initwithidentifier:datecreated:callrecordtype:callcapability:callduration:unseen:numberofcalls:.md)
- [initWithIdentifier:dateCreated:callRecordType:callCapability:callDuration:unseen:participants:numberOfCalls:isCallerIdBlocked:](intents/incallrecord/initwithidentifier:datecreated:callrecordtype:callcapability:callduration:unseen:participants:numberofcalls:iscalleridblocked:.md)
