diff options
author | Sebastian Schmidt <mrschmidt@google.com> | 2018-03-27 15:05:36 -0700 |
---|---|---|
committer | Sebastian Schmidt <mrschmidt@google.com> | 2018-03-27 15:05:36 -0700 |
commit | 069932d61ce96bc260acfb8c1761003aeb5a6282 (patch) | |
tree | 7be2c6043d35570796d41c454d1b1c5acf749876 /Firebase | |
parent | 0e86c06f60262c013c0b653470ac59a3c4d12b46 (diff) |
Deprecate StorageMetadata.downloadURLs
Diffstat (limited to 'Firebase')
-rw-r--r-- | Firebase/Storage/Public/FIRStorageMetadata.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Firebase/Storage/Public/FIRStorageMetadata.h b/Firebase/Storage/Public/FIRStorageMetadata.h index 51f3547..a0d7128 100644 --- a/Firebase/Storage/Public/FIRStorageMetadata.h +++ b/Firebase/Storage/Public/FIRStorageMetadata.h @@ -115,7 +115,7 @@ NS_SWIFT_NAME(StorageMetadata) /** * An array containing all download URLs available for the object. */ -@property(strong, nonatomic, readonly, nullable) NSArray<NSURL *> *downloadURLs; +@property(strong, nonatomic, readonly, nullable) NSArray<NSURL *> *downloadURLs __deprecated_msg("Use `StorageReference.downloadURLWithCompletion()` to obtain a current download URL."); /** * Creates an instanece of FIRStorageMetadata from the contents of a dictionary. @@ -145,7 +145,7 @@ NS_SWIFT_NAME(StorageMetadata) * Note that if there are many valid download tokens, this will always return the first * valid token created. */ -- (nullable NSURL *)downloadURL; +- (nullable NSURL *)downloadURL __deprecated_msg("Use `StorageReference.downloadURLWithCompletion()` to obtain a current download URL."); @end |