PhoneCallHistoryStore
PhoneCallHistoryStore
PhoneCallHistoryStore
PhoneCallHistoryStore
Class
Definition
A collection of phone call history entries.
public : sealed class PhoneCallHistoryStore : IPhoneCallHistoryStorepublic sealed class PhoneCallHistoryStore : IPhoneCallHistoryStorePublic NotInheritable Class PhoneCallHistoryStore Implements IPhoneCallHistoryStore// You can use this class in JavaScript.
- Attributes
| Device family |
Windows 10 (introduced v10.0.10240.0)
|
| API contract |
Windows.Foundation.UniversalApiContract (introduced v1)
|
| Capabilities |
phoneCallHistoryPublic
|
Methods
DeleteEntriesAsync(IIterable)
DeleteEntriesAsync(IIterable)
DeleteEntriesAsync(IIterable)
DeleteEntriesAsync(IIterable)
Deletes entries in the store.
public : IAsyncAction DeleteEntriesAsync(IIterable<PhoneCallHistoryEntry> callHistoryEntries)public IAsyncAction DeleteEntriesAsync(IEnumerable<PhoneCallHistoryEntry> callHistoryEntries)Public Function DeleteEntriesAsync(callHistoryEntries As IEnumerable<PhoneCallHistoryEntry>) As IAsyncAction// You can use this method in JavaScript.
- callHistoryEntries
- IIterable<PhoneCallHistoryEntry> IEnumerable<PhoneCallHistoryEntry> IEnumerable<PhoneCallHistoryEntry> IEnumerable<PhoneCallHistoryEntry>
The entries to delete.
| Device family |
Windows 10 (introduced v10.0.10240.0)
|
| API contract |
Windows.Foundation.UniversalApiContract (introduced v1)
|
| Capabilities |
phoneCallHistoryPublic
|
DeleteEntryAsync(PhoneCallHistoryEntry) DeleteEntryAsync(PhoneCallHistoryEntry) DeleteEntryAsync(PhoneCallHistoryEntry) DeleteEntryAsync(PhoneCallHistoryEntry)
Delete an entry from the store.
public : IAsyncAction DeleteEntryAsync(PhoneCallHistoryEntry callHistoryEntry)public IAsyncAction DeleteEntryAsync(PhoneCallHistoryEntry callHistoryEntry)Public Function DeleteEntryAsync(callHistoryEntry As PhoneCallHistoryEntry) As IAsyncAction// You can use this method in JavaScript.
- callHistoryEntry
- PhoneCallHistoryEntry PhoneCallHistoryEntry PhoneCallHistoryEntry PhoneCallHistoryEntry
The entry to delete.
| Device family |
Windows 10 (introduced v10.0.10240.0)
|
| API contract |
Windows.Foundation.UniversalApiContract (introduced v1)
|
| Capabilities |
phoneCallHistoryPublic
|
GetEntryAsync(String) GetEntryAsync(String) GetEntryAsync(String) GetEntryAsync(String)
Gets an entry from the store based on the entry id.
public : IAsyncOperation<PhoneCallHistoryEntry> GetEntryAsync(PlatForm::String callHistoryEntryId)public IAsyncOperation<PhoneCallHistoryEntry> GetEntryAsync(String callHistoryEntryId)Public Function GetEntryAsync(callHistoryEntryId As String) As IAsyncOperation( Of PhoneCallHistoryEntry )// You can use this method in JavaScript.
- callHistoryEntryId
- PlatForm::String String String String
The PhoneCallHistoryEntryt.Id of the relevant entry.
| Device family |
Windows 10 (introduced v10.0.10240.0)
|
| API contract |
Windows.Foundation.UniversalApiContract (introduced v1)
|
| Capabilities |
phoneCallHistoryPublic
|
GetEntryReader() GetEntryReader() GetEntryReader() GetEntryReader()
Retrieves a default phone call history entry that reads all entries.
public : PhoneCallHistoryEntryReader GetEntryReader()public PhoneCallHistoryEntryReader GetEntryReader()Public Function GetEntryReader() As PhoneCallHistoryEntryReader// You can use this method in JavaScript.
A reader that can be used to go through the phone call log entries.
| Device family |
Windows 10 (introduced v10.0.10240.0)
|
| API contract |
Windows.Foundation.UniversalApiContract (introduced v1)
|
| Capabilities |
phoneCallHistoryPublic
|
Remarks
Use GetEntryReader if you want to retrieve a reader for a limited subset of entries based on some query filters.
- See Also
GetEntryReader(PhoneCallHistoryEntryQueryOptions) GetEntryReader(PhoneCallHistoryEntryQueryOptions) GetEntryReader(PhoneCallHistoryEntryQueryOptions) GetEntryReader(PhoneCallHistoryEntryQueryOptions)
Retrieves an entry reader based on provided filters.
public : PhoneCallHistoryEntryReader GetEntryReader(PhoneCallHistoryEntryQueryOptions queryOptions)public PhoneCallHistoryEntryReader GetEntryReader(PhoneCallHistoryEntryQueryOptions queryOptions)Public Function GetEntryReader(queryOptions As PhoneCallHistoryEntryQueryOptions) As PhoneCallHistoryEntryReader// You can use this method in JavaScript.
- queryOptions
- PhoneCallHistoryEntryQueryOptions PhoneCallHistoryEntryQueryOptions PhoneCallHistoryEntryQueryOptions PhoneCallHistoryEntryQueryOptions
The options used to create a filtered entry reader.
A reader that can be used to go through the phone call log entries.
| Device family |
Windows 10 (introduced v10.0.10240.0)
|
| API contract |
Windows.Foundation.UniversalApiContract (introduced v1)
|
| Capabilities |
phoneCallHistoryPublic
|
Remarks
Use queryOptions to create a reader that will only read the specified entries. If you want a reader that accesses all log entries, you can use GetEntryReader.
- See Also
GetSourcesUnseenCountAsync(IIterable)
GetSourcesUnseenCountAsync(IIterable)
GetSourcesUnseenCountAsync(IIterable)
GetSourcesUnseenCountAsync(IIterable)
Gets the number of unseen log entries for the provided sources.
public : IAsyncOperation<unsigned int> GetSourcesUnseenCountAsync(IIterable<PlatForm::String> sourceIds)public IAsyncOperation<uint> GetSourcesUnseenCountAsync(IEnumerable<String> sourceIds)Public Function GetSourcesUnseenCountAsync(sourceIds As IEnumerable<String>) As IAsyncOperation( Of uint )// You can use this method in JavaScript.
- sourceIds
- IIterable<PlatForm::String> IEnumerable<String> IEnumerable<String> IEnumerable<String>
The identifiers that need to match PhoneCallHistoryEntry.SourceId in order for that entry to be considered.
The total number of unseen entries matching all of the identifiers provided by sourceIds.
| Device family |
Windows 10 (introduced v10.0.10240.0)
|
| API contract |
Windows.Foundation.UniversalApiContract (introduced v1)
|
| Capabilities |
phoneCallHistoryPublic
|
GetUnseenCountAsync() GetUnseenCountAsync() GetUnseenCountAsync() GetUnseenCountAsync()
Gets the number of unseen entries.
public : IAsyncOperation<unsigned int> GetUnseenCountAsync()public IAsyncOperation<uint> GetUnseenCountAsync()Public Function GetUnseenCountAsync() As IAsyncOperation( Of uint )// You can use this method in JavaScript.
The number of unseen entries.
| Device family |
Windows 10 (introduced v10.0.10240.0)
|
| API contract |
Windows.Foundation.UniversalApiContract (introduced v1)
|
| Capabilities |
phoneCallHistoryPublic
|
MarkAllAsSeenAsync() MarkAllAsSeenAsync() MarkAllAsSeenAsync() MarkAllAsSeenAsync()
Update all the entries to indicate they have all been seen by the user.
public : IAsyncAction MarkAllAsSeenAsync()public IAsyncAction MarkAllAsSeenAsync()Public Function MarkAllAsSeenAsync() As IAsyncAction// You can use this method in JavaScript.
| Device family |
Windows 10 (introduced v10.0.10240.0)
|
| API contract |
Windows.Foundation.UniversalApiContract (introduced v1)
|
| Capabilities |
phoneCallHistoryPublic
|
MarkEntriesAsSeenAsync(IIterable)
MarkEntriesAsSeenAsync(IIterable)
MarkEntriesAsSeenAsync(IIterable)
MarkEntriesAsSeenAsync(IIterable)
Updates entries to indicate they have been seen by the user.
public : IAsyncAction MarkEntriesAsSeenAsync(IIterable<PhoneCallHistoryEntry> callHistoryEntries)public IAsyncAction MarkEntriesAsSeenAsync(IEnumerable<PhoneCallHistoryEntry> callHistoryEntries)Public Function MarkEntriesAsSeenAsync(callHistoryEntries As IEnumerable<PhoneCallHistoryEntry>) As IAsyncAction// You can use this method in JavaScript.
- callHistoryEntries
- IIterable<PhoneCallHistoryEntry> IEnumerable<PhoneCallHistoryEntry> IEnumerable<PhoneCallHistoryEntry> IEnumerable<PhoneCallHistoryEntry>
The entries to mark as seen. This updates the PhoneCallHistoryEntry.IsSeen property.
| Device family |
Windows 10 (introduced v10.0.10240.0)
|
| API contract |
Windows.Foundation.UniversalApiContract (introduced v1)
|
| Capabilities |
phoneCallHistoryPublic
|
MarkEntryAsSeenAsync(PhoneCallHistoryEntry) MarkEntryAsSeenAsync(PhoneCallHistoryEntry) MarkEntryAsSeenAsync(PhoneCallHistoryEntry) MarkEntryAsSeenAsync(PhoneCallHistoryEntry)
Updates an entry to indicate it has been seen.
public : IAsyncAction MarkEntryAsSeenAsync(PhoneCallHistoryEntry callHistoryEntry)public IAsyncAction MarkEntryAsSeenAsync(PhoneCallHistoryEntry callHistoryEntry)Public Function MarkEntryAsSeenAsync(callHistoryEntry As PhoneCallHistoryEntry) As IAsyncAction// You can use this method in JavaScript.
- callHistoryEntry
- PhoneCallHistoryEntry PhoneCallHistoryEntry PhoneCallHistoryEntry PhoneCallHistoryEntry
The entry to update.
| Device family |
Windows 10 (introduced v10.0.10240.0)
|
| API contract |
Windows.Foundation.UniversalApiContract (introduced v1)
|
| Capabilities |
phoneCallHistoryPublic
|
MarkSourcesAsSeenAsync(IIterable)
MarkSourcesAsSeenAsync(IIterable)
MarkSourcesAsSeenAsync(IIterable)
MarkSourcesAsSeenAsync(IIterable)
Marks all entries from the specified sources as seen.
public : IAsyncAction MarkSourcesAsSeenAsync(IIterable<PlatForm::String> sourceIds)public IAsyncAction MarkSourcesAsSeenAsync(IEnumerable<String> sourceIds)Public Function MarkSourcesAsSeenAsync(sourceIds As IEnumerable<String>) As IAsyncAction// You can use this method in JavaScript.
- sourceIds
- IIterable<PlatForm::String> IEnumerable<String> IEnumerable<String> IEnumerable<String>
The list of source identifiers to mark as seen. Only entries that match PhoneCallHistoryEntry.SourceId will be updated.
| Device family |
Windows 10 (introduced v10.0.10240.0)
|
| API contract |
Windows.Foundation.UniversalApiContract (introduced v1)
|
| Capabilities |
phoneCallHistoryPublic
|
SaveEntryAsync(PhoneCallHistoryEntry) SaveEntryAsync(PhoneCallHistoryEntry) SaveEntryAsync(PhoneCallHistoryEntry) SaveEntryAsync(PhoneCallHistoryEntry)
Saves an entry to the store.
public : IAsyncAction SaveEntryAsync(PhoneCallHistoryEntry callHistoryEntry)public IAsyncAction SaveEntryAsync(PhoneCallHistoryEntry callHistoryEntry)Public Function SaveEntryAsync(callHistoryEntry As PhoneCallHistoryEntry) As IAsyncAction// You can use this method in JavaScript.
- callHistoryEntry
- PhoneCallHistoryEntry PhoneCallHistoryEntry PhoneCallHistoryEntry PhoneCallHistoryEntry
The entry to save.
| Device family |
Windows 10 (introduced v10.0.10240.0)
|
| API contract |
Windows.Foundation.UniversalApiContract (introduced v1)
|
| Capabilities |
phoneCallHistoryPublic
|